chore: update dockerfile and readme.md
This commit is contained in:
parent
e9dc49691a
commit
cfb7881a5b
3 changed files with 42 additions and 19 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,11 +1,7 @@
|
|||
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
|
||||
ENV HTTB_LIB_PATH="/usr/lib/httb"
|
||||
WORKDIR ${HTTB_LIB_PATH}
|
||||
COPY src/ .
|
||||
WORKDIR /
|
||||
CMD ["/bin/bash"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue