xyplon
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -6,9 +6,9 @@ WORKDIR /app
|
|
| 6 |
# Copy the current directory contents into the container at /app
|
| 7 |
COPY . /app
|
| 8 |
|
| 9 |
-
# Install dependencies
|
| 10 |
-
|
| 11 |
-
|
| 12 |
|
| 13 |
# Expose the port Gunicorn will listen on
|
| 14 |
EXPOSE 7860
|
|
|
|
| 6 |
# Copy the current directory contents into the container at /app
|
| 7 |
COPY . /app
|
| 8 |
|
| 9 |
+
# Install Gunicorn and your application dependencies
|
| 10 |
+
RUN pip install --no-cache-dir gunicorn && \
|
| 11 |
+
pip install --no-cache-dir -r requirements.txt
|
| 12 |
|
| 13 |
# Expose the port Gunicorn will listen on
|
| 14 |
EXPOSE 7860
|