Commit 89de8a32 authored by flint media's avatar flint media

Update Dockerfile

parent 852b8f4b
......@@ -21,15 +21,6 @@ RUN apk -U upgrade && \
apk del .dep && \
rm -rf /tmp/* /var/cache/apk/*
USER peertube
WORKDIR /var/www/peertube/peertube-latest
ENV NODE_ENV=production
ENV NODE_CONFIG_DIR=config
VOLUME [ "/config", "/storage" ]
CMD [ "/usr/bin/npm", "start" ]
RUN mkdir -p /tmp/config
......@@ -40,3 +31,14 @@ WORKDIR /tmp/config
RUN find /tmp/config
#RUN cp /tmp/config/production.yaml /config/production.yaml
COPY ./config/production.yaml /config/production.yaml
USER peertube
WORKDIR /var/www/peertube/peertube-latest
ENV NODE_ENV=production
ENV NODE_CONFIG_DIR=config
VOLUME [ "/config", "/storage" ]
CMD [ "/usr/bin/npm", "start" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment