From 68c15de19f0e94f16bcf4805fbe8ed98e832d556 Mon Sep 17 00:00:00 2001 From: Dawn Pattison Date: Tue, 2 Nov 2021 11:59:50 -0500 Subject: [PATCH] Set the working directory to fidesops after it is installed. Because docker-compose is bind mounting a volume to /fidesops, it is overriding the /fideops directory and my installed fidesops can't be found. --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f0d84caca..cfb39750a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,10 @@ RUN pip install -r requirements.txt RUN pip install -r dev-requirements.txt # Copy in the application files and install it locally -COPY . /fidesops -WORKDIR /fidesops +COPY . /fidesops_install +WORKDIR /fidesops_install RUN pip install -e . +WORKDIR /fidesops + CMD [ "fidesops", "webserver" ] \ No newline at end of file