Add basic Dockerfile
This commit is contained in:
parent
b0c5f2c81d
commit
355be728e0
|
@ -0,0 +1,12 @@
|
|||
FROM golang:1.16
|
||||
|
||||
WORKDIR $GOPATH/src/git.sr.ht/~yerinalexey/gtranslate
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go get -d -v ./...
|
||||
RUN go install -v ./...
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["gtranslate"]
|
Loading…
Reference in New Issue