GooDrive/backend/dockerfile
Louis Mazin ef5b14d084 nice
2026-10-14 00:08:24 +02:00

17 lines
319 B
Plaintext

FROM python:3.11-slim
RUN apt-get update && apt-get install -y \
gcc \
default-libmysqlclient-dev \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app/
CMD ["sh", "/app/entrypoint.sh"]