dohyune commited on
Commit
3ebb433
ยท
verified ยท
1 Parent(s): 5d47e87

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -7,10 +7,20 @@ RUN apt-get update && apt-get install -y \
7
  pkg-config \
8
  && rm -rf /var/lib/apt/lists/*
9
 
 
 
 
 
 
 
10
  COPY requirements.txt ./
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  COPY . .
14
 
15
  EXPOSE 8501
16
- CMD ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
 
 
 
 
 
7
  pkg-config \
8
  && rm -rf /var/lib/apt/lists/*
9
 
10
+ # Streamlit ์„ค์ • ๋””๋ ‰ํ† ๋ฆฌ ์ƒ์„ฑ
11
+ RUN mkdir -p /app/.streamlit
12
+
13
+ # Streamlit ์„ค์ • ํŒŒ์ผ ๋ณต์‚ฌ
14
+ COPY .streamlit/config.toml /app/.streamlit/config.toml
15
+
16
  COPY requirements.txt ./
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
  COPY . .
20
 
21
  EXPOSE 8501
22
+
23
+ CMD ["streamlit", "run", "app.py", \
24
+ "--server.port=8501", \
25
+ "--server.address=0.0.0.0", \
26
+ "--server.maxUploadSize=200"]