mirror of
https://github.com/ClaperCo/Claper.git
synced 2026-05-18 05:05:39 +02:00
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:
@@ -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 ./
|
||||
|
||||
Reference in New Issue
Block a user