From e6aa32f133a6724bf2149741e4325eadbfbdea85 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Tue, 10 Oct 2023 23:11:32 +0200 Subject: [PATCH] fix(docker): dep --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ce9278c8..fd5d94e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG NODE_VERSION=16-alpine3.18@sha256:a1f9d027912b58a7c75be7716c97cfbc6d3099f3a9 # Install dependencies only when needed FROM node:$NODE_VERSION AS builder -RUN apk add --no-cache libc6-compat=1.2.4-r1 +RUN apk add --no-cache libc6-compat=1.2.4-r2 WORKDIR /app COPY yarn.lock .yarnrc.yml ./ @@ -22,10 +22,10 @@ WORKDIR /app RUN yarn postinstall # if you have postinstall script in your package.json RUN if [ -z "$PRODUCTION" ]; then \ - echo "Overriding .env for staging"; \ - cp .env.staging .env.production; \ - fi && \ - yarn build:export + echo "Overriding .env for staging"; \ + cp .env.staging .env.production; \ + fi && \ + yarn build:export RUN yarn fetch-tools production && yarn cache clean