이게 맞나

This commit is contained in:
imnyang 2025-05-02 23:09:57 +09:00
commit 1786b77f3c
7 changed files with 18 additions and 19 deletions

View file

@ -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