Spaces:
Running
Running
Ahmad Schinner
commited on
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM node:18-alpine
|
2 |
+
|
3 |
+
# Install dependencies
|
4 |
+
RUN npm install express axios cheerio
|
5 |
+
|
6 |
+
# Copy your application code
|
7 |
+
COPY index.js .
|
8 |
+
|
9 |
+
# Expose port 7860
|
10 |
+
EXPOSE 3000 7860
|
11 |
+
|
12 |
+
# Run your application
|
13 |
+
CMD ["node", "index.js"]
|