Dockerfile

This commit is contained in:
Dunemask 2022-12-24 21:34:44 -05:00
parent 0b19036190
commit 5d2952124b

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM nginx:alpine
# Set working directory to nginx asset directory
WORKDIR /usr/share/nginx/html
# Remove default nginx static assets
RUN rm -rf ./*
# Copy static assets over
COPY dist .
# Containers run nginx with global directives and daemon off
ENTRYPOINT ["nginx", "-g", "daemon off;"]