Skip to content

Commit

Permalink
test sites permission
Browse files Browse the repository at this point in the history
  • Loading branch information
sakthi-aot committed May 6, 2024
1 parent 1136842 commit b20f3fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backend/sites/Dockerfile-migrations-openshift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM node:16.14.0-alpine
#FROM artifacts.developer.gov.bc.ca/docker-remote/node:14.17.1-alpine

# Set npm cache directory
ENV NPM_CONFIG_CACHE=/home/node/.npm

# Install packages, build and keep only prod packages
WORKDIR /app
Expand All @@ -14,6 +15,10 @@ COPY package*.json ./
# Install app dependencies using the `npm ci` command instead of `npm install`
RUN npm ci

# Ensure ownership of .npm folder
RUN mkdir -p /home/node/.npm \
&& chown -R node:node /home/node/.npm

#RUN npm build

# Bundle app source
Expand Down

0 comments on commit b20f3fc

Please sign in to comment.