Files
core/Dockerfile

18 lines
336 B
Docker
Raw Normal View History

2025-02-10 19:10:13 +03:00
FROM python:slim
RUN apt-get update && apt-get install -y \
postgresql-client \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
2025-03-20 12:33:27 +03:00
EXPOSE 8000
2025-03-20 12:24:30 +03:00
2025-03-20 12:33:27 +03:00
CMD ["python", "-m", "granian", "main:app", "--interface", "asgi", "--host", "0.0.0.0", "--port", "8000"]