system/Dockerfile
gitea_admin_user 9a8753f490
All checks were successful
CI Workflow / Testing the Block (push) Successful in 1m43s
CI Workflow / Containerize the Block (push) Successful in 1m42s
Add initial files
2025-04-09 16:45:38 +00:00

18 lines
353 B
Docker

# Use Python 3.10 slim as base
FROM python:3.10-slim AS base
# Set a working directory
WORKDIR /app
# Copy only the requirements file first
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application
COPY . .
# Final entrypoint
ENTRYPOINT ["python", "/app/block_wrapper.py"]