feat: déploiement sur caprover

This commit is contained in:
Pierre Martin
2024-10-15 23:08:30 +02:00
parent a809e49eff
commit 4cde37b521
3 changed files with 18 additions and 1 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
# See https://lipanski.com/posts/smallest-docker-image-static-website
FROM busybox:1.36
RUN adduser -D static
USER static
WORKDIR /home/static
COPY favicon.ico .
COPY index.html .
# Run BusyBox httpd
EXPOSE 3000
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]