refactor: mount source and plugins instead of baking into image
Containerfile now installs only dependencies (maxminddb). Source code, plugins, and config are volume-mounted via docker-compose. Code changes no longer require an image rebuild. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,9 +2,7 @@ FROM python:3.13-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml .
|
||||
COPY src/ src/
|
||||
RUN pip install --no-cache-dir maxminddb>=2.0
|
||||
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
ENTRYPOINT ["derp"]
|
||||
ENV PYTHONPATH=/app/src
|
||||
ENTRYPOINT ["python", "-m", "derp"]
|
||||
|
||||
Reference in New Issue
Block a user