Skip to content

Commit

Permalink
Add mkdir for file not found error
Browse files Browse the repository at this point in the history
Signed-off-by: Maia Iyer <[email protected]>
  • Loading branch information
maia-iyer committed Jan 9, 2024
1 parent 0ffcbed commit 216a1cd
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 [email protected] && \
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 [email protected] && \
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 216a1cd

Please sign in to comment.