mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-05-02 09:38:44 +00:00
New node needs new npm folder
This commit is contained in:
parent
7438ee6b80
commit
2e661e50f8
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue