Skip to content

Commit d4c7b0e

Browse files
committed
Make it so we don't re-download unnecessarily
1 parent 272bf37 commit d4c7b0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ COPY --from=builder /app/builds/ip-location-api-linux-arm64.bin /app/ip-location
7979
# Use the appropriate image based on architecture
8080
FROM ${TARGETARCH}
8181

82+
# Declare a volume for persisting downloaded data
83+
VOLUME /app/downloads
84+
8285
# Expose the server port (will be overridden by SERVER_PORT env var if set)
8386
EXPOSE 8080
8487

0 commit comments

Comments
 (0)