inbox/Dockerfile
Untone 2248afe3cd
All checks were successful
deploy / deploy (push) Successful in 51s
less-install
2024-02-17 14:00:46 +03:00

13 lines
304 B
Docker

FROM python:alpine3.18
WORKDIR /app
COPY . /app
RUN apk update && apk add --no-cache git gcc curl
RUN curl -sSL https://install.python-poetry.org | python
ENV PATH="${PATH}:/root/.local/bin"
RUN poetry config virtualenvs.create false && poetry install --no-dev
EXPOSE 8000
CMD ["python", "server.py"]