aboutsummaryrefslogblamecommitdiffstats
path: root/Dockerfile
blob: 90d0cb8e03c4d2b82315096ba1fd55c5a7b7f2b7 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                                                                                                       
FROM alpine:3.15 as certbuilder
RUN apk add openssl
WORKDIR /certs
RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert && cat server.key server.cert > cert.pem

FROM python:3.10.5-slim-buster
RUN pip install jupyterlab scipy numpy poetry numba torch tensorflow transformers huggingface-hub
COPY --from=certbuilder /certs /certs