Spaces:
Runtime error
Runtime error
coyotte508
commited on
Commit
·
a89bb4b
1
Parent(s):
73f1392
✨ Add Dockerfile
Browse files- Dockerfile +16 -0
Dockerfile
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# syntax=docker/dockerfile:1
|
| 2 |
+
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 3 |
+
# you will also find guides on how best to write your Dockerfile
|
| 4 |
+
FROM node:22
|
| 5 |
+
|
| 6 |
+
WORKDIR /app
|
| 7 |
+
|
| 8 |
+
RUN corepack enable
|
| 9 |
+
|
| 10 |
+
COPY --link --chown=1000 . .
|
| 11 |
+
|
| 12 |
+
RUN pnpm install
|
| 13 |
+
|
| 14 |
+
RUN pnpm build
|
| 15 |
+
|
| 16 |
+
CMD ["node", "build/index.js"]
|