-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (23 loc) · 703 Bytes
/
Dockerfile
File metadata and controls
30 lines (23 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Dockerfile for GitHub Runner Manager
FROM python:3.13-slim
WORKDIR /app
# Install necessary system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
git \
curl \
ca-certificates \
supervisor \
&& rm -rf /var/lib/apt/lists/*
# Copy application files
COPY pyproject.toml poetry.lock ./
COPY src ./src
COPY main.py ./
COPY README.md ./
COPY infra/docker/supervisord.conf ./
# Install Poetry and Python dependencies
RUN pip install poetry && poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
COPY infra/docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD []