mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
fix: update Dockerfile to copy only the dist folder contents
This commit is contained in:
parent
3490ad9865
commit
5588444d01
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|
||||||
# Copy the contents of the repo to the container
|
# Copy the contents of the repo to the container
|
||||||
COPY . /usr/share/nginx/html
|
COPY ./dist /usr/share/nginx/html
|
||||||
|
|
||||||
# Move the customized nginx config file to the nginx folder
|
# Move the customized nginx config file to the nginx folder
|
||||||
RUN mv /usr/share/nginx/html/.docker/default.conf /etc/nginx/conf.d/default.conf
|
RUN mv /usr/share/nginx/html/.docker/default.conf /etc/nginx/conf.d/default.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue