Spaces:
Running
Running
ffreemt
commited on
Commit
·
b5b7c76
1
Parent(s):
a86432d
Update configs\dev\server.yaml 7860, Dockerfile COPY . .; remove USER related
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM node:18-bullseye-slim
|
2 |
WORKDIR /app
|
3 |
-
RUN chown -R 1000:1000 /app
|
4 |
-
USER 1000
|
5 |
COPY . .
|
6 |
RUN npm install
|
7 |
RUN npm run build
|
|
|
1 |
FROM node:18-bullseye-slim
|
2 |
WORKDIR /app
|
3 |
+
# RUN chown -R 1000:1000 /app
|
4 |
+
# USER 1000
|
5 |
COPY . .
|
6 |
RUN npm install
|
7 |
RUN npm run build
|