Skip to content

Commit

Permalink
feat : add docker-compose.yml and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
92username committed Dec 20, 2024
1 parent a0ce04d commit 1828455
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Description: Dockerfile for Streamlit app
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt /app
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 8501
CMD ["streamlit", "run", "form.py"]
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3'

services:
app:
build: .
ports:
- "8501:8501"
env_file:
- .env
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ certifi==2024.8.30
charset-normalizer==3.3.2
click==8.1.7
distro==1.9.0
dotenv==0.0.5
exceptiongroup==1.2.2
gitdb==4.0.11
GitPython==3.1.43
Expand Down

0 comments on commit 1828455

Please sign in to comment.