mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
added build step to docker file, because caprover and some another paas systems cant build docker file
This commit is contained in:
1 parent
9019cb1500
commit
cd7aaf984a
1 file changed
+2
@@ -2,6 +2,8 @@
|
||||
FROM nginx:alpine AS build
|
||||
RUN rm -rf /etc/nginx/conf.d/*
|
||||
COPY nginx.conf /etc/nginx/
|
||||
RUN npm image
|
||||
RUN npm run build
|
||||
COPY public /usr/share/nginx/html/
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
Reference in new issue
Block a user