13 lines
261 B
Docker
13 lines
261 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 train.py ./
|
||
|
|
||
|
CMD bash
|