mirror of
https://github.com/luxfi/fhe.git
synced 2026-07-26 23:16:08 +00:00
- 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
20 lines
445 B
Docker
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
|