From 82cf19214d9e0944272878f620a41857c5ce200f Mon Sep 17 00:00:00 2001 From: Sven Berger Date: Wed, 31 Jul 2024 12:28:39 +0200 Subject: [PATCH] fix paths --- web_app.dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web_app.dockerfile b/web_app.dockerfile index 0e82cb3..c5a296e 100644 --- a/web_app.dockerfile +++ b/web_app.dockerfile @@ -20,13 +20,15 @@ RUN pip-review --local --auto # Install pipenv RUN pip install pipenv +RUN git clone https://github.com/Institute-of-Surface-Science/CorWiz.git . + # Copy Pipfile and Pipfile.lock COPY Pipfile Pipfile.lock ./ # Install Python dependencies RUN pipenv install --deploy --ignore-pipfile -# Copy the application code +## Copy the application code COPY . . # Expose the port the app runs on @@ -36,4 +38,4 @@ EXPOSE 8501 HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health || exit 1 # Run the application -ENTRYPOINT ["pipenv", "run", "streamlit", "run", "website.py", "--server.port=8501", "--server.address=0.0.0.0"] +ENTRYPOINT ["pipenv", "run", "streamlit", "run", "web_app/website.py", "--server.port=8501", "--server.address=0.0.0.0"]