Draw
This commit is contained in:
@ -1,12 +1,21 @@
|
||||
FROM python:3.11-slim-bookworm
|
||||
|
||||
ENV \
|
||||
PATH=/venv/bin:$PATH
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
COPY ./app .
|
||||
|
||||
# fetch go libs and build the binary with debug information removed
|
||||
RUN \
|
||||
python -m venv /venv && \
|
||||
pip install -r requirements.txt
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# start shell script when container starts
|
||||
ENTRYPOINT ["/app/run.sh"]
|
||||
|
||||
# no additional parameters to run.sh script
|
||||
CMD []
|
||||
|
||||
Reference in New Issue
Block a user