From e09efddeebe26377bd872948b1cea8f229900093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCcker?= <mb366767@fh-muenster.de> Date: Thu, 28 Sep 2023 20:02:53 +0000 Subject: [PATCH] Create workdir --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf61924..6a281c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,8 @@ COPY .env .env # Install python packages COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt -RUN sudo mkdir /usr/src/app/startup/ -RUN sudo export IPYTHONDIR /usr/src/app/startup/ -COPY python_startup/ /usr/src/app/startup/ +WORKDIR /usr/src/app/startup/ +RUN export IPYTHONDIR ./ +COPY python_startup/ ./ -- GitLab