diff --git a/Dockerfile_Backend b/Dockerfile_Backend index 972895b..ef8619a 100644 --- a/Dockerfile_Backend +++ b/Dockerfile_Backend @@ -21,7 +21,7 @@ FROM alpine:latest AS runtime RUN apk --no-cache add ca-certificates # Copy the binary from the build stage to the runtime stage -COPY --from=build /app/main /app - +COPY --from=build /app/main /app/main +WORKDIR /app # Set the entry point to execute the binary directly -ENTRYPOINT ["/app"] +ENTRYPOINT /app/main diff --git a/Dockerfile_Notifier b/Dockerfile_Notifier index 18c1323..92e1dcf 100644 --- a/Dockerfile_Notifier +++ b/Dockerfile_Notifier @@ -21,7 +21,7 @@ FROM alpine:latest AS runtime RUN apk --no-cache add ca-certificates # Copy the binary from the build stage to the runtime stage -COPY --from=build /app/main /app - +COPY --from=build /app/main /app/main +WORKDIR /app # Set the entry point to execute the binary directly -ENTRYPOINT ["/app"] +ENTRYPOINT /app/main