roxky commited on
Commit
67a2f8a
·
verified ·
1 Parent(s): c129164

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -11
Dockerfile CHANGED
@@ -2,19 +2,8 @@ FROM python:3.9
2
 
3
  ARG G4F_IGNORED_PROVIDERS
4
 
5
- RUN useradd -m -u 1000 user
6
  WORKDIR /app
7
 
8
- COPY --chown=user ./requirements.txt requirements.txt
9
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
10
-
11
- COPY --chown=user . /app
12
-
13
- USER user
14
-
15
- ENV HOME=/home/user \
16
- PATH=/home/user/.local/bin:$PATH
17
-
18
  ENV G4F_IGNORED_PROVIDERS $G4F_IGNORED_PROVIDERS
19
 
20
  CMD python -m g4f --port 7860 --debug --ignored-providers $G4F_IGNORED_PROVIDERS
 
2
 
3
  ARG G4F_IGNORED_PROVIDERS
4
 
 
5
  WORKDIR /app
6
 
 
 
 
 
 
 
 
 
 
 
7
  ENV G4F_IGNORED_PROVIDERS $G4F_IGNORED_PROVIDERS
8
 
9
  CMD python -m g4f --port 7860 --debug --ignored-providers $G4F_IGNORED_PROVIDERS