Spaces:
Paused
Paused
Vo Hoang Minh commited on
Commit ·
acb39cf
1
Parent(s): bf87e49
up
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
|
@@ -24,13 +24,10 @@ WORKDIR /app
|
|
| 24 |
COPY . /app
|
| 25 |
RUN chown -R nginx:nginx /app
|
| 26 |
|
| 27 |
-
# Switch to user node
|
| 28 |
-
USER node
|
| 29 |
|
| 30 |
# Install deps
|
| 31 |
RUN npm install
|
| 32 |
|
| 33 |
-
# Copy nginx config (đặt sẵn cho user node đọc được)
|
| 34 |
COPY nginx.conf /etc/nginx/nginx.conf
|
| 35 |
|
| 36 |
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
| 24 |
COPY . /app
|
| 25 |
RUN chown -R nginx:nginx /app
|
| 26 |
|
|
|
|
|
|
|
| 27 |
|
| 28 |
# Install deps
|
| 29 |
RUN npm install
|
| 30 |
|
|
|
|
| 31 |
COPY nginx.conf /etc/nginx/nginx.conf
|
| 32 |
|
| 33 |
COPY entrypoint.sh /entrypoint.sh
|