julien-c HF staff commited on
Commit
356ce10
1 Parent(s): 24d11d4

First try at a Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
+ # you will also find guides on how best to write your Dockerfile
3
+
4
+ FROM node:19
5
+
6
+ WORKDIR /code
7
+
8
+ COPY . .
9
+
10
+ RUN npm i
11
+
12
+ RUN npm run build
13
+
14
+ ARG PORT=7860
15
+
16
+ CMD ["npm", "build"]