feat: adding dockerfiles to justfile

This commit is contained in:
Lucas Oskorep
2024-02-11 03:02:41 -05:00
parent 9aa9122e2b
commit 77b6b247cc
12 changed files with 87 additions and 35 deletions

15
docker/python.dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.11-alpine
RUN pip install poetry
WORKDIR /app
COPY ../pyproject.toml poetry.lock ./
RUN poetry install --without dev
COPY ../mta_api_client ./
COPY ../mta_sign_server ./
COPY ../main.py stops.txt ./
ENTRYPOINT ["poetry", "run", "python", "-m", "annapurna.main"]