Makefile & Dockerfile: update docker mirror & file name

This commit is contained in:
Tom Neuber 2024-01-25 13:10:01 +01:00
parent 005ac9c60c
commit cfbad73d1e
Signed by: tom
GPG key ID: F17EFE4272D89FF6
3 changed files with 5 additions and 5 deletions

2
.gitignore vendored
View file

@ -22,4 +22,4 @@
go.work
data.csv
country_geo_locations
country-geo-locations

View file

@ -20,6 +20,6 @@ FROM alpine
WORKDIR /app
# Copy built binary from build image
COPY --from=build /workspace/country_geo_locations /app
COPY --from=build /workspace/country-geo-locations /app
ENTRYPOINT ["/app/country_geo_locations"]
ENTRYPOINT ["/app/country-geo-locations"]

View file

@ -2,10 +2,10 @@
.PHONY: build
build:
CGO_ENABLED=0 go build \
-o country_geo_locations \
-o country-geo-locations \
main.go
# Build project docker container
.PHONY: build/docker
build/docker:
docker build -t registry.neuber.io/country-geo-locations .
docker build -t git.ar21.de/yolokube/country-geo-locations .