Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM node:alpine
|
| 2 |
+
|
| 3 |
+
WORKDIR /app
|
| 4 |
+
|
| 5 |
+
COPY . .
|
| 6 |
+
|
| 7 |
+
EXPOSE 7860
|
| 8 |
+
|
| 9 |
+
RUN apk update && apk add --no-cache openssl curl &&\
|
| 10 |
+
chmod +x index.js &&\
|
| 11 |
+
npm install
|
| 12 |
+
|
| 13 |
+
CMD ["node", "index.js"]
|