Remove alpine Dockerfile

This commit is contained in:
root 2017-11-03 13:41:00 +00:00
parent 4be5e774ff
commit 3717e20ac2
1 changed files with 0 additions and 40 deletions

View File

@ -1,40 +0,0 @@
FROM xataz/nginx
FROM xataz/node:lts
ENV UID=991 GID=991 \
HTTPS=false \
HOSTNAME=peertube.localhost \
PORT=80 \
DATABASE_HOST=localhost \
DATABASE_PORT=5432 \
DATABASE_USERNAME=peertube \
DATABASE_PASSWORD=peertube \
ADMIN_EMAIL=admin@domain.local \
SIGNUP_ENABLE=false \
TRANSCODING_ENABLE=false \
TRANSCODING_THREADS=2 \
BODY_SIZE=100M
RUN apk -U upgrade \
&& apk add -t build-dependencies \
git \
build-base \
g++ \
python \
&& apk -U add yarn ffmpeg libressl su-exec curl\
&& git clone -b develop https://github.com/Chocobozzz/PeerTube /PeerTube \
&& cd /PeerTube \
&& yarn install \
&& npm install \
&& npm run build \
&& apk del build-dependencies \
&& rm -rf /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /PeerTube/.git
COPY rootfs /
RUN chmod +x /usr/local/bin/startup
WORKDIR /PeerTube/
VOLUME ["/PeerTube/certs", "/PeerTube/videos", "/PeerTube/logs", "/PeerTube/previews", "/PeerTube/thumbnails", "/PeerTube/torrents"]
ENTRYPOINT ["/usr/local/bin/startup"]