This repository has been archived on 2024-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
arigram/Dockerfile
2021-11-28 15:56:03 +02:00

15 lines
317 B
Docker

FROM python:3.9.4-slim-buster
WORKDIR /app
ENV PYTHONPATH=/app
RUN pip3 install --disable-pip-version-check --no-cache-dir poetry
COPY poetry.lock pyproject.toml /app/
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-dev --no-root
COPY . /app
CMD python3 -m arigram