feat: add Dockerfile for GoTomato
🤖
This commit is contained in:
parent
b7a79acdb0
commit
1eb1cd306d
1 changed files with 8 additions and 0 deletions
8
Dockerfile
Normal file
8
Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
FROM golang:1.23-alpine
|
||||||
|
|
||||||
|
COPY . /opt/GoTomato
|
||||||
|
|
||||||
|
RUN go build -C /opt/GoTomato -o server
|
||||||
|
|
||||||
|
EXPOSE 8080
|
||||||
|
CMD [ "/opt/GoTomato/server" ]
|
Loading…
Reference in a new issue