Files
nwxraybot/Dockerfile

17 lines
260 B
Docker

FROM python:3.13.1-slim
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"]