Update Dockerfile to fix COPY path for server binary

This commit is contained in:
Andras Bacsai
2024-04-26 13:50:05 +02:00
parent 803c064666
commit 93d1edcc23

View File

@@ -4,6 +4,6 @@ COPY . .
RUN go build -o /server .
FROM scratch
COPY --from=build /app/server /server
COPY --from=build /server /server
EXPOSE 3000
CMD ["/server"]