copy proper dir

This commit is contained in:
maddalax 2024-09-21 13:22:31 -05:00
parent 8a8844c6a3
commit a9d949b161

View file

@ -27,10 +27,10 @@ FROM gcr.io/distroless/base-debian11
WORKDIR /app WORKDIR /app
# Copy the Go binary from the builder stage # Copy the Go binary from the builder stage
COPY --from=builder /app/server . COPY --from=builder /app/dist .
# Expose the necessary port (replace with your server port) # Expose the necessary port (replace with your server port)
EXPOSE 3000 EXPOSE 3000
# Command to run the binary # Command to run the binary
CMD ["./server"] CMD ["./htmgo-site"]