Skip to content

Commit

Permalink
CI : add env file to docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
juliecoust committed Jul 3, 2024
1 parent f81bb90 commit 2226617
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ FROM node:20 AS production
WORKDIR /src

COPY package*.json .
COPY .env .
RUN pwd
RUN ls -la
COPY .env ./dist/

RUN npm ci --only=production

Expand Down

0 comments on commit 2226617

Please sign in to comment.