mirror of
https://github.com/zoriya/tide.git
synced 2026-08-15 18:43:19 +00:00
Add dockerfiles
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
FROM golang:1.20-alpine
|
||||
WORKDIR /app
|
||||
COPY go.mod ./
|
||||
# go.sum
|
||||
# RUN go mod download
|
||||
COPY . .
|
||||
RUN go build -o ./tide
|
||||
|
||||
EXPOSE 7890
|
||||
CMD ./tide
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
FROM golang:1.20-alpine
|
||||
RUN go install github.com/mitranim/gow@latest
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 7890
|
||||
CMD gow -r=false run .
|
||||
Reference in New Issue
Block a user