Created
October 16, 2018 13:54
-
-
Save marcominerva/74ab33bef3660bb9a0f6db2f6cebd97b to your computer and use it in GitHub Desktop.
Modified Dockerfile and app/requirements.txt files to make Custom Vision Linux Container work on Raspberry Pi 2/3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.5 | |
ADD app /app | |
RUN pip install --upgrade pip | |
RUN pip install https://github.com/lhelontra/tensorflow-on-arm/releases/download/v1.5.0/tensorflow-1.5.0-cp35-none-linux_armv7l.whl | |
RUN pip install -r /app/requirements.txt | |
# Expose the port | |
EXPOSE 80 | |
# Set the working directory | |
WORKDIR /app | |
# Run the flask server for the endpoints | |
CMD python app.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pillow==5.0.0 | |
numpy==1.14.1 | |
flask==0.12.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment