Skip to content

Commit

Permalink
fix: make
Browse files Browse the repository at this point in the history
  • Loading branch information
mhf-ir committed May 10, 2023
1 parent 0f2bc41 commit 1d6f8ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN cd /src \
FROM alpine
COPY --from=builder /src/ip-info-rest-api /usr/bin/ip-info-rest-api

ADD /tmp/GeoLite2-ASN.mmdb /tmp/GeoLite2-ASN.mmdb
ADD /tmp/GeoLite2-City.mmdb /tmp/GeoLite2-City.mmdb
ADD tmp/GeoLite2-ASN.mmdb /tmp/GeoLite2-ASN.mmdb
ADD tmp/GeoLite2-City.mmdb /tmp/GeoLite2-City.mmdb

ENTRYPOINT ["/usr/bin/ip-info-rest-api"]
2 changes: 2 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ docker rm -f maxmind-lite-docker-test
docker run --name maxmind-lite-docker-test -d ghcr.io/aasaam/maxmind-lite-docker tail -f /dev/null
docker cp maxmind-lite-docker-test:/GeoLite2-City.mmdb /tmp/GeoLite2-City.mmdb
docker cp maxmind-lite-docker-test:/GeoLite2-ASN.mmdb /tmp/GeoLite2-ASN.mmdb
docker cp maxmind-lite-docker-test:/GeoLite2-City.mmdb ./tmp/GeoLite2-City.mmdb
docker cp maxmind-lite-docker-test:/GeoLite2-ASN.mmdb ./tmp/GeoLite2-ASN.mmdb
docker rm -f maxmind-lite-docker-test
Empty file added tmp/.gitignore
Empty file.

0 comments on commit 1d6f8ae

Please sign in to comment.