CyberChef/Dockerfile
2019-10-11 23:36:47 +08:00

12 lines
280 B
Docker

# build a small nginx image with built app
FROM nginx
## Remove default nginx website
RUN rm -rf /usr/share/nginx/html/*
## From 'build' directory copy website to default nginx public folder
COPY ./build/prod /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]