mirror of
https://github.com/paul-nameless/tg
synced 2024-11-22 03:43:19 +00:00
15 lines
312 B
Docker
15 lines
312 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 tg
|