Spaces:
Build error
Build error
First try at a Dockerfile
Browse files- 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"]
|