chore: add docker
This commit is contained in:
parent
eb5a369502
commit
936b34cc2f
2 changed files with 16 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM debian:stable-slim
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install socat file -y
|
||||||
|
|
||||||
|
WORKDIR /opt/app
|
||||||
|
|
||||||
|
COPY src/ /opt/app/
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
CMD /opt/app/main.sh run
|
5
docker-compose.yml
Normal file
5
docker-compose.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
services:
|
||||||
|
httb:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- 8081:80
|
Loading…
Add table
Add a link
Reference in a new issue