Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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"]
|