File size: 344 Bytes
32f09fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM ghcr.io/jpbascur/tsm-base:latest

WORKDIR /app

# Copy app code only — deps and model are in the base image
COPY . .

EXPOSE 7860

# Cloud Run sets PORT=8080, HF Spaces expects 7860 (the default here)
ENV PORT=7860

CMD streamlit run streamlit_app.py \
    --server.port=$PORT \
    --server.address=0.0.0.0 \
    --server.headless=true