Spaces:
No application file
No application file
syaikhipin
commited on
Commit
·
cacc3dd
1
Parent(s):
b243be4
Create DockerFile
Browse files- DockerFile +15 -0
DockerFile
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use the rockchin/free-one-api image as a base
|
2 |
+
FROM rockchin/free-one-api
|
3 |
+
|
4 |
+
# Set the working directory in the Docker image
|
5 |
+
WORKDIR /app
|
6 |
+
|
7 |
+
# Copy the data directory from your local machine into the Docker image
|
8 |
+
COPY ./free-one-api/data /app/data
|
9 |
+
|
10 |
+
# Expose port 3000 for the app
|
11 |
+
EXPOSE 7860
|
12 |
+
|
13 |
+
# Specify the command to run when the Docker container starts
|
14 |
+
# Replace "your-command" with the actual command you want to run
|
15 |
+
CMD ["python main.py"]
|