이게 맞나
This commit is contained in:
parent
a4c1b300ca
commit
1786b77f3c
7 changed files with 18 additions and 19 deletions
|
|
@ -1,16 +1,16 @@
|
|||
FROM python:3.12
|
||||
|
||||
# Setup System
|
||||
RUN sed -i 's@deb.debian.org@ftp.kaist.ac.kr@g' /etc/apt/sources.list.d/debian.sources
|
||||
RUN pip install --upgrade pip
|
||||
RUN apt update -y && apt upgrade -y && apt install -y cron
|
||||
|
||||
# Setup Crontab
|
||||
|
||||
WORKDIR /code
|
||||
COPY crontab /code/crontab
|
||||
COPY requirements.txt /code/requirements.txt
|
||||
COPY app /code/app
|
||||
|
||||
RUN apt update && apt -y install cron
|
||||
|
||||
COPY crontab /etc/cron.d/crontab
|
||||
RUN chmod 0644 /etc/cron.d/crontab
|
||||
RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue