Skip to content

Commit

Permalink
remove env vars from dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ctkcoding committed Feb 3, 2025
1 parent f404475 commit 3c6d91e
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ RUN mkdir -p /var/www/html/episodes

# initialize env vars with defaults
# these can be changed with -e at docker run
ENV MP3_DIR=/var/www/html/episodes \
MP3_URL=$MP3_URL \
RECURSIVE_DIRECTORY_ITERATOR=true \
# ENV MP3_DIR=/var/www/html/episodes \
# MP3_URL=$MP3_URL \
# RECURSIVE_DIRECTORY_ITERATOR=true \
# COPYRIGHT= \
# WEBMASTER= \
# ITUNES_OWNER_NAME= \
Expand All @@ -17,31 +17,30 @@ ENV MP3_DIR=/var/www/html/episodes \
# TITLE= \
# ITUNES_AUTHOR= \
# ITUNES_CATEGORIES= \
ITUNES_EXPLICIT=false \
# ITUNES_EXPLICIT=false \
# DESCRIPTION= \
# ITUNES_SUBTITLE= \
# ITUNES_SUMMARY= \
# ITUNES_SUBTITLE_SUFFIX= \
# ITUNES_TYPE= \
LANGUAGE="en-us" \
ITEM_COUNT=10000 \
AUTO_SAVE_COVER_ART=false \
MIN_FILE_AGE=30 \
MIN_CACHE_TIME=5 \
# LANGUAGE="en-us" \
# ITEM_COUNT=10000 \
# AUTO_SAVE_COVER_ART=false \
# MIN_FILE_AGE=30 \
# MIN_CACHE_TIME=5 \
# FORCE_PASSWORD= \
# ATOM_TYPE= \
# DESCRIPTION_SOURCE= \
# DESCRIPTION_HMTL= \
TTL=60
# TTL=60

# copy source files to docker
COPY ./.htaccess/ /var/www/html/
COPY ./dir2cast.php /var/www/html/
COPY ./getID3/ /var/www/html/getID3/
COPY entrypoint.sh /usr/local/bin/
RUN a2enmod rewrite
# ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
ENTRYPOINT exec "/usr/local/bin/entrypoint.sh"
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]

EXPOSE 80
CMD ["apache2-foreground"]

0 comments on commit 3c6d91e

Please sign in to comment.