Files
habr-article-API/dockerfile
n0one 9424276474
All checks were successful
Build and Push Docker Image / build-and-push (release) Successful in 1m57s
fixed typo in dockerfile
2025-09-17 15:56:17 +03:00

14 lines
247 B
Plaintext

FROM python:3.13-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev build-essential
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "src/main.py"]