Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -24
Dockerfile
DELETED
@@ -1,24 +0,0 @@
|
|
1 |
-
# Use an official Python runtime as a parent image
|
2 |
-
FROM python:3.11
|
3 |
-
|
4 |
-
# Set the working directory
|
5 |
-
WORKDIR /app
|
6 |
-
|
7 |
-
# Copy the current directory contents into the container at /app
|
8 |
-
COPY . /app
|
9 |
-
|
10 |
-
# Create the cache directory and set permissions
|
11 |
-
RUN mkdir -p /app/cache && chmod 777 /app/cache
|
12 |
-
|
13 |
-
# Set the HF_HOME environment variable
|
14 |
-
ENV HF_HOME=/app/cache
|
15 |
-
|
16 |
-
# Install any needed packages specified in requirements.txt
|
17 |
-
RUN pip install --no-cache-dir --upgrade pip
|
18 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
19 |
-
|
20 |
-
# Make port 5000 available to the world outside this container
|
21 |
-
EXPOSE 5000
|
22 |
-
|
23 |
-
# Run the application
|
24 |
-
CMD ["python", "run.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|