aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 41ca2f1..a77c109 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -24,9 +24,10 @@ RUN export VERSION=$(git describe --tags --abbrev=0) && \
FROM node:16 as FRONTEND_BUILDER
WORKDIR /caronte-frontend
+COPY ./frontend/package.json ./frontend/yarn.lock ./
+RUN yarn install --frozen-lockfile
COPY ./frontend ./
-
RUN yarn install && yarn build --production=true