Skip to content

Commit

Permalink
add dev.Dockerfile to run in docker with local code/sdk/protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkTNO committed Jun 27, 2024
1 parent 8f31cbc commit 560916a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM python:3.11-slim-buster

WORKDIR /app


RUN apt update && \
apt install -y libpq-dev python3-dev gcc make # Install dependencies needed for psycopg2

COPY orchestrator/requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt --no-cache-dir

COPY ../omotes-sdk-protocol/python/ /omotes-sdk-protocol/python/
COPY ../omotes-sdk-python/ /omotes-sdk-python/
RUN pip install -e /omotes-sdk-python/
RUN pip install -e /omotes-sdk-protocol/python/

COPY orchestrator/src/ /app/

ENV PYTHONPATH="/app/"

CMD ["/app/start.sh"]

0 comments on commit 560916a

Please sign in to comment.