From 40fe3adb7cccfe5e5634b800a853ec8b8308521a Mon Sep 17 00:00:00 2001 From: imnyang Date: Wed, 6 Nov 2024 23:01:10 +0900 Subject: [PATCH] =?UTF-8?q?config=20=EC=A0=95=EC=83=81=ED=99=94=20?= =?UTF-8?q?=ED=95=B4=EC=A4=AC=EC=9E=96=EC=95=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/Dockerfile | 5 ----- README.MD | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e277282..48876a9 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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 COPY crontab /code/crontab COPY requirements.txt /code/requirements.txt -COPY .env /code/.env COPY app /code/app RUN apt update && apt -y install tzdata && \ @@ -20,10 +19,6 @@ RUN chmod 0644 /etc/cron.d/crontab RUN echo "" >> /etc/cron.d/crontab # Ensure newline at end of file RUN /usr/bin/crontab /etc/cron.d/crontab -# Setup Environment Variables - -RUN export $(cat .env | xargs) - # Setup Python Environment WORKDIR /code RUN pip config set global.break-system-packages true diff --git a/README.MD b/README.MD index 105392c..4e36f1d 100644 --- a/README.MD +++ b/README.MD @@ -10,6 +10,6 @@ **이 프로젝트는 백업을 위한 레포로 친절하게 문서를 쓸 생각이 없습니다.** -`docker build --tag today-isangjeong:latest .` +`docker build --no-cache --tag today-isangjeong:latest .` `docker run -d -v /data/hdd/today.isanjeong-docker:/code/app/temp --name today-isangjeong today-isangjeong:latest`