Skip to content

Commit cd7aaf9

Browse files
committed
added build step to docker file, because caprover and some another paas systems cant build docker file
1 parent 9019cb1 commit cd7aaf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
FROM nginx:alpine AS build
33
RUN rm -rf /etc/nginx/conf.d/*
44
COPY nginx.conf /etc/nginx/
5+
RUN npm image
6+
RUN npm run build
57
COPY public /usr/share/nginx/html/
68
EXPOSE 80
79

0 commit comments

Comments
 (0)