ium_464915/Dockerfile

17 lines
393 B
Docker

FROM python:3.11
RUN apt-get update && apt-get -y upgrade
RUN apt-get install -y build-essential
RUN python -m pip install --upgrade pip
COPY requirements.txt /tmp
RUN python -m pip install -r /tmp/requirements.txt
WORKDIR /app
COPY ./download.sh ./
COPY ./calculate.sh ./
COPY ./train.py ./
COPY ./test.py ./
CMD bash download.sh && bash calculate.sh && python train.py && python test.py