feat: docker deployment

This commit is contained in:
2025-11-26 00:01:43 +01:00
parent 03d39f8a32
commit 5d9fc18ba5
2 changed files with 16 additions and 10 deletions
+9 -4
View File
@@ -1,5 +1,10 @@
FROM nginx:alpine:latest
WORKDIR /usr/share/nginx/html
COPY . .
CMD [ "nginx", "-g", "daemon off;" ]
# everyone use that
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY ./files /usr/share/nginx/html
EXPOSE 80
# Start
CMD ["nginx", "-g", "daemon off;"]