Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Jan 17, 2024
1 parent 1ae9654 commit 25d531b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM apache/airflow:2.7.3-python3.11 AS prod
# WORKDIR /opt/airflow
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir --user -r requirements.txt
USER root
COPY init.sh init.sh
COPY . .
RUN chmod +x init.sh
USER airflow
RUN pip install --no-cache-dir --user -r requirements.txt

FROM python:3.11-bullseye AS test
WORKDIR /project
Expand Down

0 comments on commit 25d531b

Please sign in to comment.