Spaces:
Running
Running
zhou20120904
commited on
Commit
•
4c76308
1
Parent(s):
f627857
Create Dockerfile
Browse files- Dockerfile +17 -0
Dockerfile
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use a Node.js base image
|
2 |
+
FROM node:19
|
3 |
+
|
4 |
+
# Set the working directory
|
5 |
+
WORKDIR /app
|
6 |
+
|
7 |
+
# Clone the project repository
|
8 |
+
RUN git clone https://github.com/PawanOsman/ChatGPT.git /app
|
9 |
+
|
10 |
+
# Install dependencies
|
11 |
+
RUN npm install
|
12 |
+
|
13 |
+
# Expose the port the app runs on
|
14 |
+
EXPOSE 3040
|
15 |
+
|
16 |
+
# Command to run the start script
|
17 |
+
CMD ["bash", "start.sh"]
|