Skip to content

Commit

Permalink
copy files to image
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrtye committed Mar 5, 2024
1 parent 2d47b9c commit 0c2343b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions submanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ FROM python:3.12-alpine

ENV TZ=Europe/London

COPY ./requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r /requirements.txt
COPY . /submanager
RUN pip install --no-cache-dir -r /submanager/requirements.txt

RUN mkdir -p /sub /conf.d \
RUN mkdir -p /sub /conf.d /submanager \
&& apk --no-cache add dcron at \
&& touch /var/log/cron.log \
&& echo -e "python -u /submanager/update_nginx_config.py >> /var/log/cron.log 2>&1" | at now + 1 minute \
Expand Down

0 comments on commit 0c2343b

Please sign in to comment.