uploader/Dockerfile
Untone 264e274f4b
Some checks failed
deploy / deploy (push) Has been cancelled
auth
2023-12-02 08:44:06 +03:00

12 lines
368 B
Docker

FROM python:slim
WORKDIR /app
COPY . /app
RUN apt-get update && apt-get install -y git gcc curl postgresql && \
curl -sSL https://install.python-poetry.org | python - && \
echo "export PATH=$PATH:/root/.local/bin" >> ~/.bashrc && \
. ~/.bashrc && \
poetry config virtualenvs.create false && \
poetry install --no-dev
CMD ["python", "main.py"]