This commit is contained in:
Eden Kirin
2024-01-11 10:30:50 +01:00
parent 1027162e39
commit f09a149ee5
2 changed files with 1652 additions and 1 deletions

View File

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

1642
img/dockerizacija.excalidraw Normal file

File diff suppressed because it is too large Load Diff