levantermd commited on
Commit
fa9b005
·
verified ·
1 Parent(s): 1e5cd1d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM node:lts-buster
3
 
4
 
5
  # Set the working directory in the container
6
- WORKDIR /app/pair
7
 
8
  # Copy package.json and package-lock.json (or yarn.lock if using yarn)
9
  COPY package*.json ./
@@ -15,7 +15,7 @@ RUN npm install || yarn install
15
  COPY . .
16
 
17
  # Change ownership of the application files to the 'node' user
18
- RUN chown -R node:node /app/pair
19
 
20
  # Switch to the 'node' user for security reasons
21
  USER node
 
3
 
4
 
5
  # Set the working directory in the container
6
+ WORKDIR /app
7
 
8
  # Copy package.json and package-lock.json (or yarn.lock if using yarn)
9
  COPY package*.json ./
 
15
  COPY . .
16
 
17
  # Change ownership of the application files to the 'node' user
18
+ RUN chown -R node:node /app
19
 
20
  # Switch to the 'node' user for security reasons
21
  USER node