Skip to content

Commit

Permalink
DN-2: Copy env file from the correct location.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Jun 24, 2024
1 parent c94fa27 commit a3dc844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a3dc844

Please sign in to comment.