add docker build
This commit is contained in:
parent
46cf7aa873
commit
e207326901
2 changed files with 16 additions and 0 deletions
5
.dockerignore
Normal file
5
.dockerignore
Normal file
|
@ -0,0 +1,5 @@
|
|||
.git
|
||||
.gitignore
|
||||
Dockerfile
|
||||
LICENSE
|
||||
README.md
|
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -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"]
|
Loading…
Reference in a new issue