dockerfile test
This commit is contained in:
parent
6fddace32a
commit
f2189e7159
|
|
@ -16,5 +16,7 @@ RUN ls -la /app
|
||||||
# Expose the application's port (change if needed)
|
# Expose the application's port (change if needed)
|
||||||
EXPOSE 5678
|
EXPOSE 5678
|
||||||
|
|
||||||
|
RUN go build -o main .
|
||||||
|
|
||||||
# Command to run the application
|
# Command to run the application
|
||||||
CMD ["go", "run", "main.go"]
|
CMD ["./main"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue