Add basic Dockerfile
This commit is contained in:
parent
b0c5f2c81d
commit
355be728e0
12
contrib/Dockerfile
Normal file
12
contrib/Dockerfile
Normal file
@ -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…
x
Reference in New Issue
Block a user