Small Docker fixes & features (#68)

* Fix permission error creating a file/folder in the upload folder

* Fix first startup. Add postgress healthcheck and make it a required dpendency for the start of the app container

* Add  to easy test new features and build a local Docker image
This commit is contained in:
joleaf
2023-10-29 14:38:52 +01:00
committed by GitHub
parent 0e9b050308
commit 697b546044
4 changed files with 58 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ RUN mkdir /home/nobody && chown nobody /home/nobody
WORKDIR "/app"
RUN mkdir /app/uploads
RUN chown nobody /app
RUN chown -R nobody /app
# Only copy the final release from the build stage
COPY --from=builder --chown=nobody:root /app/_build/prod/rel/claper ./