Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +10 -9
Dockerfile
CHANGED
|
@@ -1,9 +1,10 @@
|
|
| 1 |
-
FROM python:3.9-slim
|
| 2 |
-
WORKDIR /webapp
|
| 3 |
-
COPY . .
|
| 4 |
-
RUN chmod +x /webapp/start.sh
|
| 5 |
-
RUN pip install --upgrade pip
|
| 6 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
-
RUN apt update && apt install -y redis-server
|
| 8 |
-
EXPOSE 7860 6379
|
| 9 |
-
CMD ["newrelic-admin", "run-program", "/webapp/start.sh"]
|
|
|
|
|
|
| 1 |
+
FROM python:3.9-slim
|
| 2 |
+
WORKDIR /webapp
|
| 3 |
+
COPY . .
|
| 4 |
+
RUN chmod +x /webapp/start.sh
|
| 5 |
+
RUN pip install --upgrade pip
|
| 6 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
+
RUN apt update && apt install -y redis-server
|
| 8 |
+
EXPOSE 7860 6379
|
| 9 |
+
# CMD ["newrelic-admin", "run-program", "/webapp/start.sh"]
|
| 10 |
+
CMD ["/webapp/start.sh"]
|