Skip to content

Commit

Permalink
Fixed path for html directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nuvious committed Nov 23, 2023
1 parent e01d8d6 commit 5ac8db0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ RUN apt-get install apt-mirror gnupg xz-utils cron -y
COPY apt-mirror.cron /etc/cron.d/apt-mirror

# Link apt-mirror data directory to /var/www/html
RUN rm -rf /var/www/html
RUN mkdir -p /var/spool/apt-mirror/data /var/www && \
ln -s /var/spool/apt-mirror/data /var/www/html
RUN rm -rf /usr/share/nginx && \
mkdir -p /var/spool/apt-mirror/data /usr/share/nginx && \
ln -s /var/spool/apt-mirror/data /usr/share/nginx/html

0 comments on commit 5ac8db0

Please sign in to comment.