fix: update Dockerfile to copy only the dist folder contents

This commit is contained in:
Marc Emmanuel 2026-01-11 20:56:18 +01:00
parent 3490ad9865
commit 5588444d01

View file

@ -1,7 +1,7 @@
FROM nginx:stable-alpine
# 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
RUN mv /usr/share/nginx/html/.docker/default.conf /etc/nginx/conf.d/default.conf