Skip to content

Commit

Permalink
Add mkdir for file not found error (#329)
Browse files Browse the repository at this point in the history
Signed-off-by: Maia Iyer <maia.raj.iyer@gmail.com>
  • Loading branch information
maia-iyer committed Mar 20, 2024
1 parent 104d50f commit 6d75c20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/Dockerfile.frontend-container
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPY --from=build /usr/src/app/.env.prod .
RUN npm install -g npm@9.7.1 && \
npm install --location=global serve && \
npm install react-inject-env
RUN mkdir build/tmp

# Set dynamic port, defualt 3000
ENV PORT_FE=3000
Expand Down
1 change: 1 addition & 0 deletions frontend/Dockerfile.frontend-container.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPY --from=build --chown=1001:0 /opt/app-root/src/.env.prod .
RUN npm install -g npm@9.7.1 && \
npm install --location=global serve && \
npm install react-inject-env
RUN mkdir build/tmp

# Update permissions after build
USER 0
Expand Down

0 comments on commit 6d75c20

Please sign in to comment.