Ajout des outils de déploiement et dév
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# See https://lipanski.com/posts/smallest-docker-image-static-website
|
||||
FROM busybox:1.36
|
||||
|
||||
RUN adduser -D static
|
||||
USER static
|
||||
WORKDIR /home/static
|
||||
|
||||
COPY . .
|
||||
|
||||
# Run BusyBox httpd
|
||||
EXPOSE 3000
|
||||
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]
|
||||
Reference in New Issue
Block a user