chore: update dockerfile and readme.md

This commit is contained in:
Arthur Khachaturov 2024-07-26 14:16:49 +03:00
parent e9dc49691a
commit cfb7881a5b
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
3 changed files with 42 additions and 19 deletions

View file

@ -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"]