fix #1
This commit is contained in:
parent
0f9a289c4b
commit
80ea692943
2 changed files with 47 additions and 0 deletions
|
@ -7,6 +7,7 @@ RUN npm run build
|
|||
|
||||
# production stage
|
||||
FROM nginx:stable-alpine as production-stage
|
||||
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue