elmeg-demo/backend/Dockerfile

14 lines
233 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Make startup script executable
RUN chmod +x start.sh
# Run migrations then start server
CMD ["./start.sh"]