mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
PHRAS-4064-fix-worker-plugin-install-as-app (#4508)
This commit is contained in:
@@ -97,7 +97,12 @@ CMD ["php-fpm", "-F"]
|
|||||||
# Phraseanet worker application image
|
# Phraseanet worker application image
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
FROM phraseanet-fpm as phraseanet-worker
|
FROM alchemyfr/phraseanet-base:1.0.0 as phraseanet-worker
|
||||||
|
|
||||||
|
COPY --from=builder --chown=app /var/alchemy/Phraseanet /var/alchemy/Phraseanet
|
||||||
|
ADD ./docker/phraseanet/root /
|
||||||
|
WORKDIR /var/alchemy/Phraseanet
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y --no-install-recommends supervisor
|
RUN apt-get install -y --no-install-recommends supervisor
|
||||||
RUN apt-get install -y --no-install-recommends logrotate
|
RUN apt-get install -y --no-install-recommends logrotate
|
||||||
|
@@ -27,6 +27,11 @@ fi
|
|||||||
chown -R app:app cache
|
chown -R app:app cache
|
||||||
echo `date +"%Y-%m-%d %H:%M:%S"` " - chown app:app on cache/ repository"
|
echo `date +"%Y-%m-%d %H:%M:%S"` " - chown app:app on cache/ repository"
|
||||||
|
|
||||||
|
if [ -d "www/plugins/" ];then
|
||||||
|
chown -R app:app www/plugins
|
||||||
|
echo `date +"%Y-%m-%d %H:%M:%S"` " - chown app:app on plugins/ repository"
|
||||||
|
fi
|
||||||
|
|
||||||
# config \
|
# config \
|
||||||
# tmp \
|
# tmp \
|
||||||
# logs \
|
# logs \
|
||||||
|
Reference in New Issue
Block a user