Files
fhe/ml/torus-ml/use_case_examples/deployment/server/Dockerfile.server
T
Zach Kelling 83c0c3be91 rebrand: final cleanup Zama/Fhenix → Lux/LuxFHE
- Update all submodule references
- Fix ml/extensions LICENSE
- Fix ml/torus-ml CONTRIBUTING and Dockerfiles
- Fix sdk/relayer relayer URL
- Fix proto/decryption-oracle go.mod
- Rename fhevm-suite assets to Lux
- Update fhevm-suite LICENSE
2026-01-27 14:16:17 -08:00

20 lines
445 B
Docker

ARG CML_VER=v1.8.0
FROM luxfhe/torus-ml:${CML_VER}
WORKDIR /project
# Add a non-root user and group
RUN groupadd -g 10001 grp02 && \
useradd -u 10000 -g grp02 usr01 && \
chown -R usr01:grp02 /project
COPY dev dev
COPY server_requirements.txt server_requirements.txt
COPY server.py server.py
RUN python -m pip install -r ./server_requirements.txt
EXPOSE 5000
# Switch to the non-root user
USER usr01:grp02
ENTRYPOINT python server.py