Skip to content

Commit

Permalink
Updated run.sh with key management capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
h8pewou authored Apr 17, 2021
1 parent e962ed4 commit 1284093
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ RUN chmod a+rx /usr/bin/youtube-dl
RUN rm -f /etc/localtime
RUN ln -fs /usr/share/zoneinfo/UCT /etc/localtime

# Install app

# Download codepoet80's wrapper and configure it
RUN rm -rf /var/www/html/*
RUN cd /tmp; git clone https://github.com/codepoet80/metube-php-servicewrapper
Expand All @@ -28,7 +26,6 @@ RUN echo "find /downloads/*.mp4 -amin +60 -exec rm -f {} \;" > /etc/cron.hourly/
RUN chmod a+rx /etc/cron.hourly/youtube-cleanup

# Configure apache

RUN rm -f /etc/apache2/sites-available/000-default.conf
RUN wget https://raw.githubusercontent.com/h8pewou/legacy_webos/main/000-default.conf -O /etc/apache2/sites-available/000-default.conf
RUN a2enmod rewrite
Expand All @@ -41,7 +38,6 @@ ENV APACHE_PID_FILE /var/run/apache2.pid

EXPOSE 80

RUN echo "rm -f /var/run/apache2/apache2.pid" > /run.sh
RUN echo "apachectl -DFOREGROUND" >> /run.sh
RUN wget https://raw.githubusercontent.com/h8pewou/Legacy-WebOS-Youtube-Service/main/run.sh -O /run.sh
RUN chmod a+rx /run.sh
CMD ["/bin/bash", "/run.sh"]

0 comments on commit 1284093

Please sign in to comment.