
안태찬
구독자 8명구독중 65명
100세 시대, 죽을 때까지 꾸준하게
chatGPT 질문: 여기서 FROM apache/airflow:2.10.5 COPY requirements.txt . RUN pip install --no-cache-dir "apache-airflow==${AIRFLOW_VERSION}" -r requirements.txt dockerfile에서 requirements.txt . ../requirements.txt . ../../requirements.txt . 모두 잘 돌아가. 이유가 뭐야?
좋은 질문이야! 너가 말한 것처럼 Dockerfile에서 COPY requirements.txt ., COPY ../requirements.txt ., COPY ../../requirements.txt . 세 가지 다 잘 돌아간다고 했는데, 사실 그게 가능한 이유는 바로 docker-compose.yaml의 build.context 설정 덕분이야.
yaml복사편집
bui...