XciD HF Staff commited on
Commit
61c1eb5
·
verified ·
1 Parent(s): b3ec3fc

Update Dockerfile (#451)

Browse files

- Update Dockerfile (549e0c759f7f32a53afee415add296785373a6b6)

Files changed (1) hide show
  1. Dockerfile +11 -11
Dockerfile CHANGED
@@ -1,16 +1,16 @@
1
- FROM registry.hf.space/enzostvs-deepsite:cpu-bbc7882
2
- # FROM node:22
3
 
4
- # USER 1000
5
- # WORKDIR /usr/src/app
6
 
7
- # # Copy the rest of the application files to the container
8
- # COPY --chown=1000 . .
9
 
10
- # RUN npm install && npm run build
11
 
12
- # # Expose the application port (assuming your app runs on port 3000)
13
- # EXPOSE 3000
14
 
15
- # # Start the application
16
- # CMD ["npm", "start"]
 
1
+ # FROM registry.hf.space/enzostvs-deepsite:cpu-bbc7882
2
+ FROM node:22
3
 
4
+ USER 1000
5
+ WORKDIR /usr/src/app
6
 
7
+ # Copy the rest of the application files to the container
8
+ COPY --chown=1000 . .
9
 
10
+ RUN npm install && npm run build
11
 
12
+ # Expose the application port (assuming your app runs on port 3000)
13
+ EXPOSE 3000
14
 
15
+ # Start the application
16
+ CMD ["npm", "start"]