summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorjerome <jerome@xlinfo.fr>2026-02-24 12:31:10 +0100
committerjerome <jerome@xlinfo.fr>2026-02-24 12:31:10 +0100
commitf237e990cf17b59f383fe42694fa293e0fd6028d (patch)
tree20d9484e8fa7d415232b10a7b9e449758bf612dc /Dockerfile
downloadhelloweb-master.tar.gz
helloweb-master.zip
commit initialHEADmaster
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..4363441
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,10 @@
+FROM busybox
+ARG who="Web"
+COPY www /var/www
+WORKDIR /var/www
+RUN sed -i "s/Web/$who/" index.html
+VOLUME /var/www
+EXPOSE 80
+RUN mkdir -p /usr/local/sbin
+COPY entrypoint.sh /usr/local/sbin
+CMD ["entrypoint.sh"]