Spaces:
Build error
Build error
Commit
·
c8dba76
1
Parent(s):
7bbc9dd
trying without dockerfile
Browse files- Dockerfile +0 -17
Dockerfile
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
# Use an official Python runtime as a parent image
|
| 2 |
-
FROM python:3.9-slim-buster
|
| 3 |
-
|
| 4 |
-
# Set the working directory to /app
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Copy the current directory contents into the container at /app
|
| 8 |
-
COPY . /app
|
| 9 |
-
|
| 10 |
-
# Install any needed packages specified in requirements.txt
|
| 11 |
-
RUN pip install --trusted-host pypi.python.org -r requirements.txt
|
| 12 |
-
|
| 13 |
-
# Expose port 8080 for Render to proxy traffic to
|
| 14 |
-
EXPOSE 8080
|
| 15 |
-
|
| 16 |
-
# Start the Gunicorn server
|
| 17 |
-
CMD ["gunicorn", "--bind", "0.0.0.0:8080", "--workers", "4", "app:app"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|