mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-14 04:21:26 +03:30
Update Dockerfile.nginx
This commit is contained in:
+10
-2
@@ -1,3 +1,11 @@
|
|||||||
FROM docker.meshkee.com/repository/docker-hosted/nginx:alpine
|
FROM node:14-alpine AS builder
|
||||||
|
|
||||||
COPY public /var/www/html/public
|
COPY . /var/www/html/
|
||||||
|
|
||||||
|
RUN npm i
|
||||||
|
|
||||||
|
RUN npm run prod
|
||||||
|
|
||||||
|
FROM nginx:alpine
|
||||||
|
|
||||||
|
COPY --from=builder public /var/www/html/public
|
||||||
|
|||||||
Reference in New Issue
Block a user