core/Dockerfile
Untone 5772db6a36
Some checks failed
Deploy to core / deploy (push) Failing after 10s
query-time-log
2024-02-19 11:10:12 +03:00

13 lines
354 B
Docker

FROM python:alpine
WORKDIR /app
COPY . /app
RUN apk update && apk add --no-cache build-base icu-data-ru curl python3-dev musl-dev postgresql-dev
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="${PATH}:/root/.local/bin"
RUN poetry config virtualenvs.create false && poetry install --only main
EXPOSE 8000
CMD ["python", "server.py"]