File size: 426 Bytes
aeb7772
 
 
dfa3f50
aeb7772
dfa3f50
aeb7772
 
 
dfa3f50
 
aeb7772
 
 
dfa3f50
 
 
aeb7772
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
version: '3'

services:
  flask_app:
    build: .
    container_name: flask_app
    ports:
      - "7860:7860"
    volumes:
      - /tmp/flask_sessions:/tmp/flask_sessions
      - ./uploads:/app/uploads
      - ./static/uploads:/app/static/uploads
      - ./static/results:/app/static/results
    environment:
      FLASK_APP: app.py
      FLASK_ENV: production
      SESSION_FILE_DIR: /app/flask_sessions
    restart: always