Azure / azure-functions-docker-python-sample

A sample of using docker to deploy a Python based app
MIT License
54 stars 38 forks source link

Dockerfile error #8

Closed asavaritayal closed 6 years ago

asavaritayal commented 6 years ago

This is from @priyaananthasankar

The latest Docker file that is updated with the alpha doesn’t work, it is unable to find workers path.

FROM microsoft/azure-functions-python3.6:v2.0.11651-alpha
ENV host:logger:consoleLoggingMode=always 
COPY . /home/site/wwwroot 
RUN cd /home/site/wwwroot && \ 
/bin/bash -c \
"source /workers/worker_env/bin/activate &&\
pip3 install -r requirements.txt"

The source /workers/worker_env/bin/activate isn’t working.