From 355be728e0dba157a253d2ca72648dba68fe9835 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 16 Jun 2021 15:52:11 +0200 Subject: [PATCH] Add basic Dockerfile --- contrib/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/Dockerfile diff --git a/contrib/Dockerfile b/contrib/Dockerfile new file mode 100644 index 0000000..d250c38 --- /dev/null +++ b/contrib/Dockerfile @@ -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"]