Skip to content

Commit

Permalink
restructure Dockerfiel
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBlanke committed Mar 22, 2024
1 parent b57d7eb commit 070254d
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
# Get the python 3.10 base docker image
FROM python:3.10-slim as test-env

RUN echo "\n Run Dockerfile"

COPY Makefile .
COPY ./requirements/*.txt ./requirements
COPY ./requirements/*.txt .

# Install pipenv
RUN apt-get -y update &&\
apt-get -y install build-essential &&\
make install &&\
make install-test
RUN RUN echo $(ls -1) &&\
python -m pip install -r ./requirements/requirements.txt &&\
python -m pip install -r ./requirements/requirements-test.txt

0 comments on commit 070254d

Please sign in to comment.