fix dockerfile
This commit is contained in:
parent
17af307bf3
commit
58b8e5db0c
|
|
@ -11,8 +11,10 @@ RUN go mod download
|
|||
# Copy the rest of the application source code
|
||||
COPY . .
|
||||
|
||||
RUN go build -o app main.go
|
||||
|
||||
# Expose the application's port (change if needed)
|
||||
EXPOSE 5678
|
||||
|
||||
# Command to run the application
|
||||
CMD ["go", "run", "main.go"]
|
||||
CMD ["./app"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue