mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
Clean up Dockerfile by removing static file copies
Remove redundant COPY commands for static files.
This commit is contained in:
@@ -17,8 +17,6 @@ RUN apk --no-cache add ca-certificates tzdata
|
|||||||
ARG API_RATE_URL=""
|
ARG API_RATE_URL=""
|
||||||
|
|
||||||
WORKDIR /app
|
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
|
COPY --from=builder /app/src/.env.example /app/.env
|
||||||
RUN if [ -n "$API_RATE_URL" ]; then \
|
RUN if [ -n "$API_RATE_URL" ]; then \
|
||||||
sed -i "s|^api_rate_url=.*$|api_rate_url=${API_RATE_URL}|" /app/.env; \
|
sed -i "s|^api_rate_url=.*$|api_rate_url=${API_RATE_URL}|" /app/.env; \
|
||||||
|
|||||||
Reference in New Issue
Block a user