Add basic Dockerfile

This commit is contained in:
Rob Watson 2021-06-16 15:52:11 +02:00
parent b0c5f2c81d
commit 355be728e0
1 changed files with 12 additions and 0 deletions

12
contrib/Dockerfile Normal file
View 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"]