Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various quality of life enhancements #29

Merged
merged 2 commits into from
May 2, 2023

Conversation

Ayedrian
Copy link
Contributor

What changed: Switched to a different node image for the docker container, README now specifies to run the docker image in interactive mode with TTY (flags -ti), Angular now serves app in development instead of production mode.

Why the change: The switch to a different node image is to try to shorten the container startup time, the non-slim bullseye image seems to build the application a bit faster although this should be tested even more, the -ti flag enables stopping of the container using control + C, starting in development mode gets rid of a warning regarding the webpack-dev-server (although a different warning still persists regarding --disable-host-check being a security risk, however removing this option displays a different warning).

Testing steps: Download the appropriate image and run it using the new command from the README with the -ti flag, confirm that the warning regarding running the app in production mode no longer shows, time how long it takes Angular to prepare the application (shouldn't be much longer than 2 minutes, depends on your architecture though), check (just to be safe) that the application does run/is accessible in the browser, confirm that stopping the container is possible via control + C in the command line.

@Ayedrian Ayedrian added the enhancement New feature or request label Apr 30, 2023
@Ayedrian Ayedrian self-assigned this Apr 30, 2023
@Ayedrian Ayedrian added the ready to review Indicate that reviewer should have a look label Apr 30, 2023
@Ayedrian
Copy link
Contributor Author

Ayedrian commented Apr 30, 2023

Docker apparently uses a slim variant for the node:lts-bullseye image anyway so this most likely isn't the cause for what seems like a shorter startup time.

README.md Outdated Show resolved Hide resolved
Co-authored-by: Matthias Linhuber <github@linhuber.org>
@Ayedrian Ayedrian requested a review from Mtze May 2, 2023 11:40
@Mtze Mtze merged commit 4d76b9f into develop May 2, 2023
@Mtze Mtze deleted the feature/various-qol-enhancements branch May 9, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready to review Indicate that reviewer should have a look
Projects
None yet
2 participants