mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 19:11:07 +03:30
Update Dockerfile.nginx
This commit is contained in:
+3
-1
@@ -1,5 +1,7 @@
|
||||
FROM node:14-alpine AS builder
|
||||
|
||||
WORKDIR /var/www/html
|
||||
|
||||
COPY . /var/www/html/
|
||||
|
||||
RUN npm i
|
||||
@@ -8,4 +10,4 @@ RUN npm run production
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY --from=builder public /var/www/html/public
|
||||
COPY --from=builder WORKDIR /var/www/html/public /var/www/html/public
|
||||
|
||||
Reference in New Issue
Block a user