Skip to content

Commit

Permalink
Reversion of dockerfile, presvious commit causes issues in automated …
Browse files Browse the repository at this point in the history
…tests
  • Loading branch information
david-i-berry committed Dec 6, 2024
2 parents 95efd0c + 1b0167c commit ae116a5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ RUN source /home/wis2downloader/.venv/bin/activate && \
USER root
# Now copy files
COPY . /home/wis2downloader/tmp
COPY config/. /home/wis2downloader/app/config
COPY entrypoint.sh /home/wis2downloader/app/entrypoint.sh
COPY clean_downloads.cron /home/wis2downloader/app/clean_downloads.cron
COPY clean_downloads.py /home/wis2downloader/app/clean_downloads.py
COPY ./docker/config/. /home/wis2downloader/app/config
COPY ./docker/entrypoint.sh /home/wis2downloader/app/entrypoint.sh
COPY ./docker/clean_downloads.cron /home/wis2downloader/app/clean_downloads.cron
COPY ./docker/clean_downloads.py /home/wis2downloader/app/clean_downloads.py

# set ownership / permisssions
RUN chown -R wis2downloader /home/wis2downloader/tmp && \
Expand All @@ -59,8 +59,7 @@ RUN chown -R wis2downloader /home/wis2downloader/tmp && \
USER wis2downloader
WORKDIR /home/wis2downloader/tmp
RUN source /home/wis2downloader/.venv/bin/activate && \
python -m pip install wis2downloader

python -m pip install --no-cache-dir .
# clean up \
WORKDIR /home/wis2downloader/
RUN rm -R /home/wis2downloader/tmp
Expand Down

0 comments on commit ae116a5

Please sign in to comment.