From e207326901b99c3ec20a7393c2184ec65ff3b758 Mon Sep 17 00:00:00 2001 From: Shannon Sterz Date: Mon, 30 Dec 2024 12:21:40 +0100 Subject: [PATCH] add docker build --- .dockerignore | 5 +++++ Dockerfile | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..7b61392 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +.git +.gitignore +Dockerfile +LICENSE +README.md diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a256440 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# https://hub.docker.com/_/busybox/ +FROM busybox:1 + + +RUN adduser -D static +USER static +WORKDIR /home/static + +COPY . . + +CMD ["busybox", "httpd", "-f", "-v", "-p", "8080"]