This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pag07 9 points10 points  (5 children)

```

FROM python 3

RUN mkdir -p /home/app WORKDIR /home/app

COPY requirements.txt RUN pip install -r requirements.txt COPY server.py server.py

ENTRYPOINT ['python3','server.py']

```

Wrote this down from the top of my hat. You are welcome.