ahmetalper commited on
Commit
58d63f6
·
verified ·
1 Parent(s): 0d812de

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -16
Dockerfile CHANGED
@@ -1,23 +1,16 @@
1
- FROM python:3.10
2
 
3
- RUN useradd -m -u 1000 user
4
 
5
- ENV HOME=/home/user
6
- ENV PATH=/home/user/.local/bin:$PATH
7
 
8
- USER user
9
 
10
- WORKDIR $HOME/app
11
 
12
- RUN pip install --no-cache-dir google-generativeai
13
- RUN pip install --no-cache-dir requests
14
- RUN pip install --no-cache-dir fastapi
15
- RUN pip install --no-cache-dir uvicorn
16
 
17
- RUN --mount=type=secret,id=URL,mode=0444,required=true \
18
 
19
- git clone $(cat /run/secrets/URL) .
20
-
21
- COPY --chown=user . $HOME/app
22
-
23
- CMD ["python", "main.py"]
 
1
+ # FROM python:3.10
2
 
3
+ # RUN useradd -m -u 1000 user
4
 
5
+ # ENV HOME=/home/user
6
+ # ENV PATH=/home/user/.local/bin:$PATH
7
 
8
+ # USER user
9
 
10
+ # WORKDIR $HOME/app
11
 
12
+ # RUN --mount=type=secret,id=URL,mode=0444,required=true \
 
 
 
13
 
14
+ # git clone $(cat /run/secrets/URL) .
15
 
16
+ # CMD ["python", "main.py"]