mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
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
10 lines
166 B
Docker
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"]
|