Update Dockerfile
Browse files- Dockerfile +0 -13
Dockerfile
CHANGED
|
@@ -8,19 +8,6 @@ COPY --chown=user requirements.txt .
|
|
| 8 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 9 |
pip install --no-cache-dir -r requirements.txt
|
| 10 |
COPY --chown=user . .
|
| 11 |
-
ARG MAC_TOKEN
|
| 12 |
-
RUN python -c "
|
| 13 |
-
from huggingface_hub import hf_hub_download
|
| 14 |
-
import os
|
| 15 |
-
hf_hub_download(
|
| 16 |
-
repo_id='BrewsterWhitecapsMAC/mac-private',
|
| 17 |
-
filename='AllCollege_RE288.parquet',
|
| 18 |
-
repo_type='dataset',
|
| 19 |
-
token='${MAC_TOKEN}',
|
| 20 |
-
local_dir='/app'
|
| 21 |
-
)
|
| 22 |
-
print('Parquet downloaded during build')
|
| 23 |
-
"
|
| 24 |
EXPOSE 7860
|
| 25 |
CMD ["streamlit", "run", "streamlit_app.py", \
|
| 26 |
"--server.port=7860", \
|
|
|
|
| 8 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 9 |
pip install --no-cache-dir -r requirements.txt
|
| 10 |
COPY --chown=user . .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
EXPOSE 7860
|
| 12 |
CMD ["streamlit", "run", "streamlit_app.py", \
|
| 13 |
"--server.port=7860", \
|