Files
colony/Dockerfile
T
ciomek b38e290309
Build and Push Docker Image / build-and-push (push) Successful in 6s
replicator
2026-09-20 21:49:31 +02:00

20 lines
373 B
Docker

FROM python:3.14-slim
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN chmod +x colonyctl.py && ln -s /app/colonyctl.py /usr/local/bin/colonyctl
VOLUME ["/app/data", "/app/storages", "/app/logs"]
EXPOSE 65334/tcp 28149/udp 8080/tcp
CMD ["python", "main.py"]