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