Skip to content

Commit

Permalink
dockerfile change
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-macdonald1 committed Feb 2, 2024
1 parent b7b6c6d commit ce927d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion containers/db_cleanup/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Install dependencies only when needed
FROM registry.access.redhat.com/ubi8/nodejs-16 AS deps
USER 0
WORKDIR /deleted
RUN chmod -R g+rwX /deleted
WORKDIR /app

# Ensure that the user can access all application files
RUN chmod -R g+rwX /app
RUN chmod -R g+rwX /deleted


# Install dependencies based on the preferred package manager
COPY package.json package-lock.json* ./
Expand Down

0 comments on commit ce927d7

Please sign in to comment.