1234567891011121314151617181920212223242526 |
- FROM python:3.12-alpine
- RUN apk --update --no-cache --no-progress add git gcc libffi-dev musl-dev make openssl g++ autoconf automake libtool
- RUN adduser -u 1600 -D service-0net
- USER service-0net:service-0net
- WORKDIR /home/service-0net
- COPY requirements.txt .
- RUN python3 -m pip install -r requirements.txt
- # the part below is updated with source updates
- COPY . .
- ENTRYPOINT python3 zeronet.py --ui_ip "*" --fileserver_port 26552 \
- --tor $TOR_ENABLED --tor_controller tor:$TOR_CONTROL_PORT \
- --tor_proxy tor:$TOR_SOCKS_PORT --tor_password $TOR_CONTROL_PASSWD
- CMD main
- EXPOSE 43110 26552
|