aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
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