env 완전 제거
This commit is contained in:
parent
e19aa64c8f
commit
b2839e21fc
1 changed files with 0 additions and 5 deletions
|
|
@ -7,7 +7,6 @@ RUN sed -i 's@deb.debian.org@ftp.kaist.ac.kr@g' /etc/apt/sources.list.d/debian.s
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
COPY crontab /code/crontab
|
COPY crontab /code/crontab
|
||||||
COPY requirements.txt /code/requirements.txt
|
COPY requirements.txt /code/requirements.txt
|
||||||
COPY .env /code/.env
|
|
||||||
COPY app /code/app
|
COPY app /code/app
|
||||||
|
|
||||||
RUN apt update && apt -y install cron
|
RUN apt update && apt -y install cron
|
||||||
|
|
@ -17,10 +16,6 @@ RUN chmod 0644 /etc/cron.d/crontab
|
||||||
RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file
|
RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file
|
||||||
RUN /usr/bin/crontab /etc/cron.d/crontab
|
RUN /usr/bin/crontab /etc/cron.d/crontab
|
||||||
|
|
||||||
# Setup Environment Variables
|
|
||||||
|
|
||||||
RUN export $(cat .env | xargs)
|
|
||||||
|
|
||||||
# Setup Python Environment
|
# Setup Python Environment
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
RUN pip config set global.break-system-packages true
|
RUN pip config set global.break-system-packages true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue