system/Dockerfile
gitea_admin_user fba827a948
All checks were successful
CI Workflow / test (push) Successful in 1m52s
CI Workflow / Containerize the Block (push) Successful in 1m38s
Add initial files
2025-04-09 16:45:34 +00:00

18 lines
438 B
Docker

# Use Python slim image as base
FROM python:3.10-slim AS base
# Set up a directory for the application code
WORKDIR /app
# Copy only the requirements file initially for better caching
COPY requirements.txt .
# Install Workflow SDK and other dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application code
COPY . .
# Set entrypoint for the worker
ENTRYPOINT ["python", "/app/block_wrapper.py"]