maybe fixed

This commit is contained in:
imnyang 2024-11-06 17:20:11 +09:00
commit dc18b65b5f
2 changed files with 4 additions and 2 deletions

View file

@ -4,6 +4,7 @@ RUN sed -i 's@deb.debian.org@ftp.kaist.ac.kr@g' /etc/apt/sources.list.d/debian.s
# Setup Crontab # Setup Crontab
WORKDIR /code
RUN apt update && apt -y install cron RUN apt update && apt -y install cron
COPY crontab /etc/cron.d/crontab COPY crontab /etc/cron.d/crontab
@ -15,9 +16,10 @@ RUN /usr/bin/crontab /etc/cron.d/crontab
RUN export $(cat .env | xargs) RUN export $(cat .env | xargs)
# Setup Python Environment
WORKDIR /app
# Setup Python Environment
WORKDIR /code/app
RUN pip config set global.break-system-packages true RUN pip config set global.break-system-packages true
RUN pip install -r requirements.txt RUN pip install -r requirements.txt