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