inbox/Dockerfile
Stepan Vladovskiy 5ad7ff8265
All checks were successful
deploy / deploy (push) Successful in 49s
fix: no root added for install only dependencies
2025-02-12 19:58:36 -03:00

13 lines
319 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 --without dev --no-root
EXPOSE 8000
CMD ["python", "server.py"]