Skip to content

Commit 6289519

Browse files
docker deployment with cloud run setup done
1 parent 0a999a9 commit 6289519

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

.dockerignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Dockerfile
2+
assets
3+
README.md
4+
*.pyc
5+
*.pyo
6+
*.pyd
7+
__pycache__
8+
.pytest_cache
9+
.env.example

.gcloudignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
assets
2+
README.md
3+
*.pyc
4+
*.pyo
5+
*.pyd
6+
__pycache__
7+
.pytest_cache
8+
.env.example

Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM python:3.10
2+
3+
EXPOSE 8080
4+
WORKDIR /app
5+
6+
COPY . ./
7+
8+
RUN pip install --no-cache-dir -r requirements.txt
9+
10+
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8080", "--server.address=0.0.0.0"]

0 commit comments

Comments
 (0)