Skip to content

Commit

Permalink
Merge pull request #894 from scottkurz/fix-891
Browse files Browse the repository at this point in the history
Fix stale doc link
  • Loading branch information
scottkurz authored Jul 16, 2024
2 parents e460e5d + 92bae50 commit ccb3a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/libertyDev.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Finally, if dev mode detects the Liberty command `RUN configure.sh` it will inse
Dev mode offers different levels of file tracking and deployment depending on the way the file is specified in the Dockerfile.
1. When you use the COPY command on an individual file, dev mode can track file changes and hot deploy them to the container subject to the limitations below. **This is the recommended way to deploy files for dev mode,** so that you can make changes to those files at any time without needing to rebuild the image or restart the container.
- E.g. `COPY build/wlp/usr/servers/defaultServer/server.xml /config/`
- Note that the Containerfile/Dockerfile must copy only one `.war` file for the application. See the section on [Dockerfiles](#Dockerfile) for details.
- Note that the Containerfile/Dockerfile must copy only one `.war` file for the application. See the section on [Dockerfiles](#containerfile-and-dockerfile) for details.
2. You can use the COPY command to deploy an entire directory and its sub-directories. In this case, dev mode will detect file changes and automatically rebuild the image and restart the container upon changes.
3. The ADD command can be used on individual files, including tar files, as well as on directories. Again, dev mode will rebuild the image and restart the container when it detects file changes.
4. Certain Containerfile/Dockerfile features are not supported by dev mode. In these cases, the files specified are not tracked. If you change these files, you must rebuild the image and restart the container manually. **Type <kbd>r</kbd> and press <kbd>Enter</kbd> to rebuild the image and restart the container.**
Expand Down

0 comments on commit ccb3a53

Please sign in to comment.