diff --git a/Dockerfile b/Dockerfile index 5ad2434..6e49fab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ FROM golang:alpine as builder WORKDIR /app -COPY go.mod go.sum ./ -RUN go mod download COPY . . RUN go build -o iphistory . @@ -9,5 +7,5 @@ FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=builder /app/iphistory . -EXPOSE 3000 +EXPOSE 8080 CMD ["./iphistory"]