Commit graph

68 commits

Author SHA1 Message Date
3a350c70cd Add Trunk Linter to repo 2023-11-21 16:04:37 -06:00
846de5c396 Refactor and style the welcome page
for improved user experience

This commit refactors the newuser.html template for improved user
experience by adding a title, meta viewport tag, and Bootstrap CSS. It
also enhances the layout and styling, including the use of Bootstrap
alerts and input groups. The form for creating a new file is now
displayed in a more organized manner.
2023-11-21 15:58:45 -06:00
4493397b38 Change the CSS class of the login error alert div 2023-11-21 15:24:25 -06:00
a9a3b7d2e6 Update Golang base image in Dockerfile 2023-11-21 15:14:22 -06:00
438bc71f18 Add alert class to login modal error div 2023-11-21 15:10:42 -06:00
4484051063 Remove wait.sh 2023-11-21 15:02:59 -06:00
418201dbc8 Remove Wait.sh 2023-11-21 15:00:59 -06:00
70ffa674d3 Hail Mary 2 2023-11-21 14:59:09 -06:00
f1fcd37ebd Hail Mary 2023-11-21 14:56:18 -06:00
4fb018b2cd Try to fix again 2023-11-21 14:49:14 -06:00
473919fb61 Fix Dockerfile COPY command to correctly copy 2023-11-21 14:42:18 -06:00
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