npc0 commited on
Commit
b5f28bd
·
verified ·
1 Parent(s): 3960657

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -2,20 +2,19 @@
2
  # you will also find guides on how best to write your Dockerfile
3
 
4
  FROM python:3.9
 
5
 
6
  RUN mkdir /dep
7
-
8
- RUN useradd -m -u 1000 user
9
- USER user
10
- ENV PATH="/home/user/.local/bin:$PATH"
11
-
12
- RUN pip install -U pip
13
  WORKDIR /dep
14
  RUN git clone https://github.com/yourusername/claude-proxy-api.git
15
  WORKDIR /dep/claude-proxy-api
16
  RUN pip install -r requirements.txt
17
  COPY --chown=user proxy.env ./.env
18
 
 
 
 
 
19
  WORKDIR /app
20
 
21
  COPY --chown=user ./requirements.txt requirements.txt
 
2
  # you will also find guides on how best to write your Dockerfile
3
 
4
  FROM python:3.9
5
+ RUN pip install -U pip
6
 
7
  RUN mkdir /dep
 
 
 
 
 
 
8
  WORKDIR /dep
9
  RUN git clone https://github.com/yourusername/claude-proxy-api.git
10
  WORKDIR /dep/claude-proxy-api
11
  RUN pip install -r requirements.txt
12
  COPY --chown=user proxy.env ./.env
13
 
14
+ RUN useradd -m -u 1000 user
15
+ USER user
16
+ ENV PATH="/home/user/.local/bin:$PATH"
17
+
18
  WORKDIR /app
19
 
20
  COPY --chown=user ./requirements.txt requirements.txt