Neon-tech commited on
Commit
7a4c541
·
verified ·
1 Parent(s): 5d38523

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -6
Dockerfile CHANGED
@@ -1,20 +1,14 @@
1
  FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
-
5
- RUN apt-get update && \
6
- apt-get install -y wget
7
 
8
  RUN apt-get update && apt-get install -y --no-install-recommends \
9
  gcc && rm -rf /var/lib/apt/lists/*
10
 
11
  COPY requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
13
- RUN --mount=type=secret,id=session_file \
14
- wget https://$(cat /run/secrets/session_file)
15
 
16
  COPY app.py .
17
- #COPY session.session .
18
 
19
  EXPOSE 7860
20
 
 
1
  FROM python:3.11-slim
2
 
3
  WORKDIR /app
 
 
 
4
 
5
  RUN apt-get update && apt-get install -y --no-install-recommends \
6
  gcc && rm -rf /var/lib/apt/lists/*
7
 
8
  COPY requirements.txt .
9
  RUN pip install --no-cache-dir -r requirements.txt
 
 
10
 
11
  COPY app.py .
 
12
 
13
  EXPOSE 7860
14