build!: put whole flyspray dir in default volume
This commit is contained in:
@@ -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"
|
COPY --from=build --chown=www-data:www-data /app "$FLYSPRAY"
|
||||||
|
|
||||||
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
|
VOLUME $FLYSPRAY
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
|
|||||||
@@ -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"
|
COPY --from=build --chown=www-data:www-data /app "$FLYSPRAY"
|
||||||
|
|
||||||
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
|
VOLUME $FLYSPRAY
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
|
|||||||
@@ -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 && \
|
RUN curl -L "$FLYSPRAY_SRC" | tar zxf - --strip-components=1 && \
|
||||||
chown www-data:www-data -R "$FLYSPRAY"
|
chown www-data:www-data -R "$FLYSPRAY"
|
||||||
|
|
||||||
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
|
VOLUME $FLYSPRAY
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
|
|||||||
@@ -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 && \
|
RUN curl -L "$FLYSPRAY_SRC" | tar zxf - --strip-components=1 && \
|
||||||
chown www-data:www-data -R "$FLYSPRAY"
|
chown www-data:www-data -R "$FLYSPRAY"
|
||||||
|
|
||||||
VOLUME $FLYSPRAY/attachments, $FLYSPRAY/avatars
|
VOLUME $FLYSPRAY
|
||||||
EXPOSE 80 443
|
EXPOSE 80 443
|
||||||
|
|||||||
Reference in New Issue
Block a user