pipenv --clear\r
\r
COPY server ./server\r
-COPY --from=build ${BUILD_DIR}/client/dist ./client/dist\r
+COPY --from=build --chmod=777 ${BUILD_DIR}/client/dist ./client/dist\r
\r
COPY entrypoint.sh healthcheck.sh /\r
RUN chmod +x /entrypoint.sh /healthcheck.sh\r
if [ `id -u` -eq 0 ] && [ `id -g` -eq 0 ]; then
echo Setting file permissions...
chown -R ${PUID}:${PGID} ./
- chown -R ${PUID}:${PGID} ${FLATNOTES_PATH}
echo Starting flatnotes as user ${PUID}...
exec ${EXEC_TOOL} ${PUID}:${PGID} ${flatnotes_command}