Dockerfile 328 字节
Newer Older
1 2 3 4 5 6 7 8 9
FROM mhart/alpine-node:6.11.3

RUN mkdir /workspace
WORKDIR /workspace/
ADD * /workspace/
RUN apk add --no-cache python py-pip
RUN pip install -r /workspace/requirements.txt
RUN cd /workspace && npm install && mkdir templates && mv index.html templates && mkdir static && mv js static && mv css static
CMD ["python", "main.py"]