Files
projects/Dockers/docker-webhook-updater/Dockerfile
T
Bram d72ee4a7d2
Build and Push Docker Images / build-and-push (push) Failing after 37s
intermediate commit
2025-11-17 21:56:21 +01:00

17 lines
269 B
Docker

FROM python:3.12-slim
# Set workdir
WORKDIR /app
# Copy requirements first (better caching)
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy source code
COPY . .
# Run script
CMD ["python", "main.py"]