build!: put whole flyspray dir in default volume

This commit is contained in:
2023-02-03 13:47:19 +01:00
parent cd04eadae8
commit 0d2c9e5314
4 changed files with 4 additions and 4 deletions

View File

@@ -43,5 +43,5 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY --from=build --chown=www-data:www-data /app "$FLYSPRAY"
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
VOLUME $FLYSPRAY
EXPOSE 80 443

View File

@@ -43,5 +43,5 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY --from=build --chown=www-data:www-data /app "$FLYSPRAY"
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
VOLUME $FLYSPRAY
EXPOSE 80 443

View File

@@ -23,5 +23,5 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
RUN curl -L "$FLYSPRAY_SRC" | tar zxf - --strip-components=1 && \
chown www-data:www-data -R "$FLYSPRAY"
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
VOLUME $FLYSPRAY
EXPOSE 80 443

View File

@@ -23,5 +23,5 @@ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
RUN curl -L "$FLYSPRAY_SRC" | tar zxf - --strip-components=1 && \
chown www-data:www-data -R "$FLYSPRAY"
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
VOLUME $FLYSPRAY
EXPOSE 80 443