Esteves Enzo commited on
Commit
3787c07
1 Parent(s): fc4bdb2

docker file updated

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -13
Dockerfile CHANGED
@@ -13,19 +13,7 @@ COPY package.json package-lock.json ./
13
  RUN npm install
14
 
15
  # Copy the rest of the application files to the container
16
- # COPY . .
17
-
18
- RUN useradd -m -u 1000 user
19
-
20
- USER user
21
-
22
- ENV HOME=/home/user
23
- ENV PATH=/home/user/.local/bin:$PATH
24
-
25
- WORKDIR $HOME/app
26
-
27
- COPY --chown=user . $HOME
28
-
29
 
30
  # Build the Next.js application for production
31
  RUN npm run build
 
13
  RUN npm install
14
 
15
  # Copy the rest of the application files to the container
16
+ COPY . .
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  # Build the Next.js application for production
19
  RUN npm run build