diff --git a/Dockerfile b/Dockerfile index 66fc000..461a161 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,8 @@ RUN ln -sf /app/data/production.yaml /app/code/server/config/production.yaml && RUN curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl && chmod +x /usr/local/bin/youtube-dl # required when installing plugins/themes that use node-gyp -RUN rm -rf /home/cloudron/.cache && ln -s /run/peertube/cache /home/cloudron/.cache +RUN rm -rf /home/cloudron/.cache && ln -s /run/peertube/cache /home/cloudron/.cache && \ + rm -rf /home/cloudron/.npm && ln -s /run/peertube/npm /home/cloudron/.npm COPY production.yaml.example start.sh /app/pkg/ diff --git a/start.sh b/start.sh index 9e0c7b9..908e0bb 100755 --- a/start.sh +++ b/start.sh @@ -2,7 +2,7 @@ set -eu -mkdir -p /app/data/storage /run/peertube/cache /tmp/peertube +mkdir -p /app/data/storage /run/peertube/cache /run/peertube/npm /tmp/peertube # do not rely on WORKDIR cd /app/code/server