generated from nathanwoodburn/python-webserver-template
fix: Remove more copies from dockerfile
All checks were successful
Build Docker / BuildImage (push) Successful in 1m2s
All checks were successful
Build Docker / BuildImage (push) Successful in 1m2s
This commit is contained in:
@@ -19,12 +19,8 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
uv sync --locked
|
||||
|
||||
# Copy only app source files
|
||||
COPY blueprints blueprints
|
||||
COPY main.py server.py curl.py tools.py mail.py cache_helper.py ./
|
||||
COPY main.py server.py ./
|
||||
COPY templates templates
|
||||
COPY data data
|
||||
COPY pwa pwa
|
||||
COPY .well-known .well-known
|
||||
|
||||
# Clean up caches and pycache
|
||||
RUN rm -rf /root/.cache/uv
|
||||
|
||||
Reference in New Issue
Block a user