Skip to content

Commit

Permalink
fix: combined both req.txt and req-dev.txt
Browse files Browse the repository at this point in the history
Signed-off-by: Rishi Mondal <[email protected]>
  • Loading branch information
MAVRICK-1 committed Jul 10, 2024
1 parent 8a8f40d commit 832f88c
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,10 +1,8 @@
FROM python:3.11
ARG ANSIBLE_VERSION=stable-2.16
RUN pip install --no-cache-dir --disable-pip-version-check https://github.com/ansible/ansible/archive/${ANSIBLE_VERSION}.tar.gz
COPY ./requirements.txt /tmp/requirements.txt
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements.txt
COPY ./requirements-dev.txt /tmp/requirements-dev.txt
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements-dev.txt
COPY ./requirements.txt ./requirements-dev.txt /tmp/
RUN pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements.txt && pip install --no-cache-dir --disable-pip-version-check --requirement /tmp/requirements-dev.txt
COPY ./requirements.yml /tmp/requirements.yml
RUN ansible-galaxy collection install --ignore-certs --requirements-file /tmp/requirements.yml
COPY . /opt/
Expand Down

0 comments on commit 832f88c

Please sign in to comment.