Clean up Dockerfile by removing static file copies

Remove redundant COPY commands for static files.
This commit is contained in:
line-6000
2026-05-02 01:51:40 +08:00
committed by GitHub
parent 53e66bad35
commit 32aa1b66f5
-2
View File
@@ -17,8 +17,6 @@ RUN apk --no-cache add ca-certificates tzdata
ARG API_RATE_URL=""
WORKDIR /app
COPY --from=builder /app/src/static /app/static
COPY --from=builder /app/src/static /static
COPY --from=builder /app/src/.env.example /app/.env
RUN if [ -n "$API_RATE_URL" ]; then \
sed -i "s|^api_rate_url=.*$|api_rate_url=${API_RATE_URL}|" /app/.env; \