diff --git a/server/Dockerfile b/server/Dockerfile index 058a71f..89514bb 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -7,12 +7,12 @@ RUN go mod download COPY . . -RUN go build -o main.out ./cmd/main.go +RUN go build -o main.out ./main.go FROM alpine:latest -COPY --from=builder /app/main.out /app/checkfile +COPY --from=builder /app/main.out /app/scanfile EXPOSE 8080 -CMD ["/app/checkfile"] +CMD ["/app/scanfile"]