docker fixed
This commit is contained in:
parent
1555a97843
commit
a4d40b2ae4
@ -10,10 +10,10 @@ COPY . .
|
||||
RUN go mod download
|
||||
|
||||
# Build the Go app
|
||||
RUN go build -o main .
|
||||
RUN go build .
|
||||
|
||||
# Expose port 8080 for incoming traffic
|
||||
EXPOSE 4002
|
||||
|
||||
# Define the command to run the app when the container starts
|
||||
CMD ["go", "run"]
|
||||
CMD ["/portfolio-backend"]
|
||||
Loading…
x
Reference in New Issue
Block a user