Commit graph

7 commits

Author SHA1 Message Date
362a3793a8 Fix Dockerfile COPY command to correctly copy
files from builder image to notatio user.
2023-11-21 14:39:42 -06:00
51addc16b6 Try to fix paths in dockerfile 2023-11-21 14:37:58 -06:00
4fc8725438 Improve user creation in Dockerfile 2023-11-21 14:23:56 -06:00
ccdd52afa4 Build notatio binary with updated file path
The Dockerfile is updated to build the notatio binary with the new file
path "/home/notatio/notatio" instead of "/notatio". The final image is
also updated to copy the necessary files to the new file path
"/home/notatio". The entrypoint is modified to change the working
directory before executing the notatio binary.
2023-11-21 14:03:30 -06:00
7da4f9830f Add user 'notatio' 2023-11-21 12:54:35 -06:00
c2a76ed51a Update Dockerfile with custom base image and add
healthcheck

- Update base image to `docker.io/library/alpine:3.18.4` to ensure the
latest version is used.
- Set the user in the container to `notatio` for security purposes.
- Add a healthcheck to monitor the app's availability.
- Modify the `ENTRYPOINT` to delay the execution by 10 seconds before
starting the application.
2023-11-21 12:45:52 -06:00
9da51a1e6b Switch Repo to notatio/notatio 2023-11-20 22:10:40 -06:00