Dockerfile
This commit is contained in:
parent
0b19036190
commit
5d2952124b
1 changed files with 9 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal 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;"]
|
Loading…
Add table
Add a link
Reference in a new issue