gtranslate/contrib/Dockerfile

13 lines
163 B
Docker

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"]