diff --git a/client/Dockerfile b/client/Dockerfile index a2e97294f4..1958a7e3e3 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -9,7 +9,7 @@ COPY package.json /app/ WORKDIR /app/client/ COPY client/package.json client/package-lock.json ./ -COPY .env /app/client/.env +COPY client/.env /app/client/.env # https://stackoverflow.com/questions/71426665/how-run-next-js-with-node-sharp-for-docker#answer-77150832 # Install dependencies diff --git a/server/Dockerfile b/server/Dockerfile index 9bae6fae9a..0d26eec0b1 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -11,7 +11,7 @@ COPY package.json /app/ WORKDIR /app/server/ COPY server/package.json server/yarn.lock ./ -COPY .env /app/client/.env +COPY server/.env /app/client/.env RUN yarn install --frozen-lockfile