From dfa7a89c91c8794ebb5f4cb1836b91e33ebf106e Mon Sep 17 00:00:00 2001 From: Emiliano Ciavatta Date: Fri, 10 Jul 2020 10:21:19 +0200 Subject: Update docker scripts --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 4f90ef8..4d5bda3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,13 @@ FROM eciavatta/caronte-env:latest +ENV GIN_MODE release + COPY . /caronte WORKDIR /caronte RUN go mod download && go build +RUN npm i --global yarn && cd frontend && yarn install && yarn build + CMD ./caronte -- cgit v1.2.3-70-g09d2