18 lines
263 B
Docker
18 lines
263 B
Docker
FROM python:3.13.1-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY poetry.lock pyproject.toml ./
|
|
|
|
RUN pip install poetry
|
|
|
|
RUN poetry config virtualenvs.create false
|
|
RUN poetry install --no-interaction --no-ansi
|
|
|
|
COPY .env .
|
|
COPY . .
|
|
|
|
ENV POSTGRES_PORT=5432
|
|
|
|
CMD ["python", "main.py"]
|