Files
uploader/Dockerfile

12 lines
368 B
Docker
Raw Normal View History

2023-09-28 02:05:14 +03:00
FROM python:slim
WORKDIR /app
2023-12-02 08:44:06 +03:00
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
2023-09-28 02:05:14 +03:00
CMD ["python", "main.py"]