Skip to content

Commit

Permalink
Merge pull request #16 from Saifkhan-rkp/docker-update
Browse files Browse the repository at this point in the history
Docker update
  • Loading branch information
Saifkhan-rkp authored Mar 11, 2024
2 parents 2fd0ba5 + a19b3a3 commit db8ccbb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM python:3.11-slim

WORKDIR /forgery_detection

RUN apt-get update && apt-get install -y \
build-essential \
curl \
software-properties-common \
git \
&& rm -rf /var/lib/apt/lists/*

COPY . .

RUN pip3 install -r requirements.txt

EXPOSE 8501

HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health

ENTRYPOINT ["streamlit", "run", "FRONTEND.py", "--server.port=8501", "--server.address=0.0.0.0"]
2 changes: 0 additions & 2 deletions FRONTEND.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ def set_background(image_file):
background-image: url(data:image/png;base64,{b64_encoded});
background-size:cover;
}}
</style>
"""
Expand Down

0 comments on commit db8ccbb

Please sign in to comment.