diff --git a/Dockerfile b/Dockerfile index 3b87e58..9340a97 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ COPY . /src WORKDIR /src RUN go mod tidy -RUN go build hot.go +RUN go build main.go FROM 192.168.1.131:8888/library/alpine:3.13 RUN apk add make @@ -16,6 +16,6 @@ RUN echo "Asia/Shanghai" > /etc/timezone WORKDIR /app COPY --from=builder /src/configs /app/configs -COPY --from=builder /src/hot /app/hot -ENTRYPOINT ["./hot"] +COPY --from=builder /src/main /app/main +ENTRYPOINT ["./main"]