jhgj
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -22,10 +22,10 @@ WORKDIR /app
|
|
22 |
|
23 |
# Copy the requirements file and install dependencies
|
24 |
COPY --chown=user ./requirements.txt requirements.txt
|
25 |
-
RUN pip install --no-cache-dir
|
26 |
|
27 |
# Copy the rest of the application code
|
28 |
COPY --chown=user . /app
|
29 |
|
30 |
# Set the command to start the application
|
31 |
-
CMD ["gunicorn", "-b", "0.0.0.0:7860", "-k", "eventlet", "app:app"
|
|
|
22 |
|
23 |
# Copy the requirements file and install dependencies
|
24 |
COPY --chown=user ./requirements.txt requirements.txt
|
25 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
|
27 |
# Copy the rest of the application code
|
28 |
COPY --chown=user . /app
|
29 |
|
30 |
# Set the command to start the application
|
31 |
+
CMD ["gunicorn", "-b", "0.0.0.0:7860", "-k", "eventlet", "app:app"]
|