-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (26 loc) · 756 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM python:3.10-slim
ENV PYTHONUNBUFFERED 1
WORKDIR /usr/src/app
EXPOSE 8000
# Installing scipy
#RUN pip3 install --no-cache-dir --disable-pip-version-check scipy==1.7.1
## Installing other slow packages
#RUN pip3 install --no-cache-dir \
# pandas==1.3.5 \
# numpy==1.21.4 \
# psycopg2-binary==2.9.1 \
# scikit-learn==1.0.2 \
# matplotlib==3.5.1 \
# scikit-optimize==0.9.0
#
#
#RUN pip3 install --no-cache-dir \
# FLAML==1.1.3\
# tsfresh==0.20.0
# Installing requirements
COPY ./frozen_requirements.txt /usr/src/app
RUN apt-get update && apt-get install -y build-essential
RUN pip install -r /usr/src/app/frozen_requirements.txt
# updated conflicting requierement
RUN pip install --upgrade protobuf
COPY . /usr/src/app