Skip to content

Commit

Permalink
Merge pull request #75 from bcgov/akroon3r-patch-11
Browse files Browse the repository at this point in the history
Update Dockerfile COPY and Install
  • Loading branch information
akroon3r authored Jun 27, 2024
2 parents e8fb492 + e90fe7e commit 0314fe9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ FROM node:14
WORKDIR /usr/src/app

# Copy dependency definitions
COPY package.json /usr/src/app
COPY package-lock.json /usr/src/app
COPY ./frontend .

# Install dependecies
#RUN npm set progress=false \
# && npm config set depth 0 \
# && npm i install
RUN npm ci
RUN npm i

# Get all the code needed to run the app
COPY . /usr/src/app
Expand All @@ -21,4 +20,4 @@ COPY . /usr/src/app
EXPOSE 3000

# Serve the app
CMD ["npm", "start"]
CMD ["npm", "start"]

0 comments on commit 0314fe9

Please sign in to comment.