rcwaterman commited on
Commit
648b044
1 Parent(s): 302119f

enabling network

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,4 +1,9 @@
1
  FROM python:3.11.4
 
 
 
 
 
2
  RUN useradd -m -u 1000 user
3
  USER user
4
  ENV HOME=/home/user \
@@ -7,6 +12,5 @@ WORKDIR $HOME/app
7
  COPY --chown=user . $HOME/app
8
  COPY ./requirements.txt ~/app/requirements.txt
9
  RUN pip install -r requirements.txt
10
- EXPOSE 8080
11
  COPY . .
12
  CMD ["chainlit", "run", "app.py", "--port", "7860"]
 
1
  FROM python:3.11.4
2
+ RUN apt-get update && apt-get install -y \
3
+ curl \
4
+ net-tools \
5
+ iputils-ping
6
+ EXPOSE 8080
7
  RUN useradd -m -u 1000 user
8
  USER user
9
  ENV HOME=/home/user \
 
12
  COPY --chown=user . $HOME/app
13
  COPY ./requirements.txt ~/app/requirements.txt
14
  RUN pip install -r requirements.txt
 
15
  COPY . .
16
  CMD ["chainlit", "run", "app.py", "--port", "7860"]