You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once built, run the Docker command locally, mapping port 8080 on your host machine to port 80 on the container:
178
+
Once built, run the Docker command locally, mapping port 8080 on your host machine to port 8000 on the container:
179
179
180
180
```
181
-
docker run -p 8080:80 -d tinystacks/flask-crud-app:latest
181
+
docker run -p 8080:8000 -d tinystacks/flask-crud-app:latest
182
182
```
183
183
184
184
To test that the server is running, test its `/ping` endpoint from the command line. This time, you will change the port to 8080 to test that it's running from the running Docker container:
@@ -246,10 +246,10 @@ If you already have an existing Flask application, you can use the core files in
246
246
247
247
If your project is already Dockerized (i.e., it has its own Dockerfile), then simply copy over the `build.yml` and `release.yml` files into the root of your existing project.
248
248
249
-
If your project is not Dockerized, you will also need to copy over the Dockerfile included in this sample. If your application uses a different port than port 80, you will also need to update the `EXPOSE` line in the Dockerfile to use a different port:
249
+
If your project is not Dockerized, you will also need to copy over the Dockerfile included in this sample. If your application uses a different port than port 8000, you will also need to update the `EXPOSE` line in the Dockerfile to use a different port:
0 commit comments