Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
svchb committed Jul 31, 2024
1 parent dea301a commit 82cf192
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web_app.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 82cf192

Please sign in to comment.