Spaces:
Runtime error
Runtime error
dsingh71
commited on
Commit
·
f7ec481
1
Parent(s):
b45c241
Re-add large files with Git LFS
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.11-slim-bullseye
|
2 |
+
RUN useradd -m -u 1000 user
|
3 |
+
USER user
|
4 |
+
ENV HOME=/home/user \
|
5 |
+
PATH=/home/user/.local/bin:$PATH
|
6 |
+
WORKDIR $HOME/app
|
7 |
+
COPY --chown=user . $HOME/app
|
8 |
+
COPY ./requirements.txt ~/app/requirements.txt
|
9 |
+
RUN pip config --user set global.progress_bar off
|
10 |
+
RUN pip install -r requirements.txt --progress-bar off
|
11 |
+
COPY . .
|
12 |
+
CMD ["streamlit", "run", "app.py"]
|