Feat: started CI/CD work

This commit is contained in:
2024-12-27 01:38:50 +03:00
parent 53bb09f41c
commit 3472c3fd71
5 changed files with 66 additions and 6 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
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"]