fix(docker): update .dockerignore to include client/.env file (#241)

fix(docker): add COPY command to copy client/.env file into the container before building
This commit is contained in:
Danny Avila 2023-05-11 15:59:43 -04:00 committed by GitHub
parent 53ea3dd9fb
commit 91e9b167b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
FROM node:19-alpine AS react-client
WORKDIR /client
# copy package.json into the container at /client
COPY /client/.env /client/.env
COPY /client/package*.json /client/
# install dependencies
RUN npm ci