Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -48,6 +48,8 @@ COPY . /app
|
|
| 48 |
RUN apt-get update && apt-get upgrade -y
|
| 49 |
RUN apt-get install docker-compose -y
|
| 50 |
|
|
|
|
|
|
|
| 51 |
# Start the SSH server when the container runs
|
| 52 |
# CMD ["python3","app.py"]
|
| 53 |
CMD ["flask" , "run" , "--host=0.0.0.0", "--port=7860" ]
|
|
|
|
| 48 |
RUN apt-get update && apt-get upgrade -y
|
| 49 |
RUN apt-get install docker-compose -y
|
| 50 |
|
| 51 |
+
RUN service docker start
|
| 52 |
+
|
| 53 |
# Start the SSH server when the container runs
|
| 54 |
# CMD ["python3","app.py"]
|
| 55 |
CMD ["flask" , "run" , "--host=0.0.0.0", "--port=7860" ]
|