I’m new to astronomer, and am trying to use a docker-astronomer container for local unit and integration tests.
Currently I have 2 files specifying python dependencies:
The first file installs automatically when running
astro dev init and
astro dev start. Is there a way to also install the dependencies from the file named
requirements-dev.txt automatically ?
We normally recommend against having two different requirements.txt files, especially because of possible deployment config drift.
Adding the second requirements-dev.txt might work if you add this to the Dockerfile:
# Install additional requirements file
COPY requirements-dev.txt .
RUN pip install --no-cache-dir -q -r requirements-dev.txt
I tried that and it didn’t.