mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-10 20:26:19 +00:00
Update Dockerfile to include python, pip, etc. (testing)
This commit is contained in:
parent
2471bda211
commit
ce90308035
1 changed files with 15 additions and 1 deletions
16
Dockerfile
16
Dockerfile
|
@ -29,7 +29,21 @@ RUN apk add --no-cache --update \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tzdata \
|
tzdata \
|
||||||
fail2ban \
|
fail2ban \
|
||||||
bash
|
bash \
|
||||||
|
iproute2 \
|
||||||
|
python3 \
|
||||||
|
py3-pip \
|
||||||
|
&& python3 -m ensurepip \
|
||||||
|
&& pip3 install --upgrade pip
|
||||||
|
|
||||||
|
# Install Python packages
|
||||||
|
RUN pip3 install \
|
||||||
|
psutil \
|
||||||
|
pycurl \
|
||||||
|
pysocks \
|
||||||
|
python-dotenv \
|
||||||
|
cloudflare \
|
||||||
|
virtualenv
|
||||||
|
|
||||||
COPY --from=builder /app/build/ /app/
|
COPY --from=builder /app/build/ /app/
|
||||||
COPY --from=builder /app/DockerEntrypoint.sh /app/
|
COPY --from=builder /app/DockerEntrypoint.sh /app/
|
||||||
|
|
Loading…
Reference in a new issue