8 lines
258 B
Docker
8 lines
258 B
Docker
FROM python:alpine
|
|
RUN apk update
|
|
RUN apk add build-base python3 python3-pip ipython3 build-essential python-dev python3-dev
|
|
COPY . /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
RUN pip install --upgrade pip
|
|
RUN pip install -r requirements.txt
|
|
CMD python3 -u ./script.py |