mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Adding Python hot fn sample
This commit is contained in:
9
examples/tutorial/hotfunctions/http/python/Dockerfile
Normal file
9
examples/tutorial/hotfunctions/http/python/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM jjanzic/docker-python3-opencv
|
||||
|
||||
RUN mkdir /code
|
||||
ADD . /code/
|
||||
WORKDIR /code
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
WORKDIR /code/
|
||||
ENTRYPOINT ["python3", "func.py"]
|
||||
Reference in New Issue
Block a user