Skip to content

Commit a6a85dd

Browse files
Update tutorial-custom-docker-image.md
------- cc: @msangapu-msft
1 parent 76847db commit a6a85dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/app-service/containers/tutorial-custom-docker-image.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cd docker-django-webapp-linux
4545

4646
## Build the image from the Docker file
4747

48-
In the Git repository, take a look at _Dockerfile_. This file describes the Python environment that is required to run your application. Additionally, the image sets up an [SSH](https://www.ssh.com/ssh/protocol/) server for secure communication between the container and the host.
48+
In the Git repository, take a look at _Dockerfile_. This file describes the Python environment that is required to run your application. Additionally, the image sets up an [SSH](https://www.ssh.com/ssh/protocol/) server for secure communication between the container and the host. The script `init.sh` starts the SSH service and Python server.
4949

5050
```Dockerfile
5151
FROM python:3.4
@@ -69,6 +69,8 @@ COPY init.sh /usr/local/bin/
6969

7070
RUN chmod u+x /usr/local/bin/init.sh
7171
EXPOSE 8000 2222
72+
73+
#service SSH start
7274
#CMD ["python", "/code/manage.py", "runserver", "0.0.0.0:8000"]
7375
ENTRYPOINT ["init.sh"]
7476
```

0 commit comments

Comments
 (0)