enricorampazzo commited on
Commit
0561cd6
1 Parent(s): af72954

Update Dockerfile

Browse files

added SHELL instruction to use bash by default

Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,5 +1,6 @@
1
  FROM python:3.10
 
2
  RUN python -m venv venv
3
- RUN venv/bin/activate
4
  RUN pip install -r requirements.txt
5
  ENTRYPOINT streamlit app.py
 
1
  FROM python:3.10
2
+ SHELL ["/bin/bash", "-c"]
3
  RUN python -m venv venv
4
+ RUN source venv/bin/activate
5
  RUN pip install -r requirements.txt
6
  ENTRYPOINT streamlit app.py