From dddcdc770a3372f73f068cf8d770c3b8cc77d239 Mon Sep 17 00:00:00 2001 From: David Siaw Date: Tue, 20 Sep 2022 21:22:41 +0000 Subject: [PATCH] update dockerfile --- Dockerfile | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 31217655..5d3dc362 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,26 @@ -FROM alpine:3.6 +FROM alpine -ADD . /app +ADD bin /app/bin +ADD gdrive-userscript /app/gdrive-userscript +ADD player /app/player +ADD src /app/src +ADD templates /app/templates +ADD www /app/www +ADD .eslintrc.js /app/.eslintrc.js +ADD index.js /app/index.js +ADD package.json /app/package.json +ADD package-lock.json /app/package-lock.json +ADD postinstall.sh /app/postinstall.sh +ADD servcmd.sh.js /app/servcmd.sh.js +ADD container-install.sh /app/container-install.sh RUN cd app && sh container-install.sh -WORKDIR /app - ENV MYSQL_HOST localhost ENV MYSQL_PORT 3306 ENV MYSQL_DATABASE cytube ENV MYSQL_USER cytube ENV MYSQL_PASSWORD nico_best_girl -ENV MYSQL_ROOT_PASSWORD ruby_best_girl ENV SYNC_TITLE Sync ENV SYNC_DESCRIPTION Sync Video ENV ROOT_URL http://localhost:8080 @@ -20,12 +29,13 @@ ENV IO_ROOT_URL http://localhost ENV IO_ROOT_PORT 1337 ENV ROOT_DOMAIN localhost:8080 ENV HTTPS_ENABLED false -ENV TRUST_ALL_PROXIES false +ENV COOKIE_SECRET aaa +ENV IMMEDIATE_PROXY 172.16.0.0/12 #ENV YOUTUBE_KEY #ENV TWITCH_CLIENT_ID EXPOSE 8080 -# EXPOSE 1337 +EXPOSE 1337 # EXPOSE 8443 ADD conf /app/conf