Files
fn-serverless/examples/formats/http/python/Dockerfile
Denis Makogon 783490dc79 Addressing certain comments
What's new?
 - better error handling
 - still need to decode JSON from function because we need status code and body
 - prevent request body to be a problem by deferring its close
 - moving examples around: putting http and json samples into one folder
2017-10-07 00:43:07 +03:00

10 lines
166 B
Docker

FROM jjanzic/docker-python3-opencv
RUN mkdir /code
ADD . /code/
WORKDIR /code
RUN pip3 install -r requirements.txt
WORKDIR /code/
ENTRYPOINT ["python3", "func.py"]