linux-tutorial/codes/docker/docker-compose-demo/Dockerfile

6 lines
102 B
Docker

FROM python:3.6-alpine
ADD . /code
WORKDIR /code
RUN pip install redis flask
CMD ["python", "app.py"]