Alibrown commited on
Commit
2b4a99b
·
verified ·
1 Parent(s): b518c3a

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -27
Dockerfile DELETED
@@ -1,27 +0,0 @@
1
- # Use an official Python runtime as a parent image.
2
- # We choose a slim version to keep the image size small.
3
- FROM python:3.10-slim
4
-
5
- # Set the working directory in the container.
6
- # All subsequent commands will be executed in this directory.
7
- WORKDIR /app
8
-
9
- # Copy the requirements file into the container.
10
- # We do this first to leverage Docker's layer caching.
11
- # If requirements.txt doesn't change, this step is skipped.
12
- COPY requirements.txt ./
13
-
14
- # Install any needed packages specified in requirements.txt.
15
- # The --no-cache-dir flag helps to keep the image smaller.
16
- RUN pip install --no-cache-dir -r requirements.txt
17
-
18
- # Copy the rest of the application code into the working directory.
19
- COPY . .
20
-
21
- # Expose the hub port (matches HUB_PORT in app/.pyfun)
22
- EXPOSE 7860
23
-
24
- # Define the command to run your application.
25
- # This command will be executed when the container starts.
26
- # We use main.py as the entry point, as per our architecture.
27
- CMD ["python", "main.py"]