File size: 584 Bytes
514c4e1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: "3.2"
services:
  unlock_pdf_password:
    tty: true
    stdin_open: true
    user: root
    working_dir: /app
    build:
      context: .
      dockerfile: docker/cpu/Dockerfile
      target: dev
      # secrets:
      #   - github_token
      args:
        progress: plain
    volumes:
      - type: bind
        source: ./
        target: /app
    ports:
      - "8501:8501"
    command:
      poetry run streamlit run src/app.py
    environment:
        PYTHONPATH: "/app/src"
        PYTHONUNBUFFERED: 1
# secrets:
#   github_token:
#     file: ${HOME}/.git-credentials