Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -135,11 +135,13 @@ RUN apt-get update && \
|
|
135 |
htop vim nano && \
|
136 |
rm -rf /var/lib/apt/lists/*
|
137 |
|
138 |
-
RUN useradd -m -u 1000 user
|
139 |
|
140 |
WORKDIR /app
|
141 |
COPY --link --chown=1000 ./ /app
|
142 |
-
RUN npm
|
143 |
|
144 |
-
|
|
|
145 |
```
|
|
|
|
|
|
135 |
htop vim nano && \
|
136 |
rm -rf /var/lib/apt/lists/*
|
137 |
|
|
|
138 |
|
139 |
WORKDIR /app
|
140 |
COPY --link --chown=1000 ./ /app
|
141 |
+
RUN npm i
|
142 |
|
143 |
+
USER 1000
|
144 |
+
CMD ["node", "index.js"]
|
145 |
```
|
146 |
+
|
147 |
+
|