copy proper dir
This commit is contained in:
parent
8a8844c6a3
commit
a9d949b161
1 changed files with 3 additions and 3 deletions
|
|
@ -26,11 +26,11 @@ FROM gcr.io/distroless/base-debian11
|
|||
# Set the working directory inside the container
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the Go binary from the builder stage
|
||||
COPY --from=builder /app/server .
|
||||
# Copy the Go binary from the builder stage
|
||||
COPY --from=builder /app/dist .
|
||||
|
||||
# Expose the necessary port (replace with your server port)
|
||||
EXPOSE 3000
|
||||
|
||||
# Command to run the binary
|
||||
CMD ["./server"]
|
||||
CMD ["./htmgo-site"]
|
||||
Loading…
Reference in a new issue