Waniss commited on
Commit
803f9c3
·
verified ·
1 Parent(s): 3b7b098

Delete Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +0 -18
Dockerfile.txt DELETED
@@ -1,18 +0,0 @@
1
- # Use Python image
2
- FROM python:3.9
3
-
4
- # Set the working directory inside the container
5
- WORKDIR /code
6
-
7
- # Copy the requirements file from the root
8
- COPY ./requirements.txt /code/requirements.txt
9
-
10
- # Install dependencies
11
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
-
13
- # Copy all files and folders (including 'pages' and 'assets')
14
- COPY . /code
15
-
16
- # Start the app using Gunicorn on port 7860
17
- # This assumes your main file is 'app.py' and it contains 'server = app.server'
18
- CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:server"]