Spaces:
Runtime error
Runtime error
iamtatsuki05
commited on
Commit
•
746d65f
1
Parent(s):
2b5bcdd
Synced repo using 'sync_with_huggingface' Github Action
Browse files- compose.yml +29 -0
compose.yml
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
version: "3.2"
|
2 |
+
services:
|
3 |
+
unlock_pdf_password:
|
4 |
+
tty: true
|
5 |
+
stdin_open: true
|
6 |
+
user: root
|
7 |
+
working_dir: /app
|
8 |
+
build:
|
9 |
+
context: .
|
10 |
+
dockerfile: docker/cpu/Dockerfile
|
11 |
+
target: dev
|
12 |
+
# secrets:
|
13 |
+
# - github_token
|
14 |
+
args:
|
15 |
+
progress: plain
|
16 |
+
volumes:
|
17 |
+
- type: bind
|
18 |
+
source: ./
|
19 |
+
target: /app
|
20 |
+
ports:
|
21 |
+
- "8501:8501"
|
22 |
+
command:
|
23 |
+
poetry run streamlit run src/app.py
|
24 |
+
environment:
|
25 |
+
PYTHONPATH: "/app/src"
|
26 |
+
PYTHONUNBUFFERED: 1
|
27 |
+
# secrets:
|
28 |
+
# github_token:
|
29 |
+
# file: ${HOME}/.git-credentials
|