Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

街景分割及目标检测的dockerfile #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added aaa.txt
Empty file.
13 changes: 8 additions & 5 deletions streetview.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,24 @@ RUN apt-get update --fix-missing && apt-get install -y --no-install-recommends\


# install python package
RUN pip3 --no-cache-dir install setuptools \
RUN pip3 --no-cache-dir install -i https://pypi.tuna.tsinghua.edu.cn/simple setuptools
RUN pip3 --no-cache-dir install -i https://pypi.tuna.tsinghua.edu.cn/simple \
numpy \
Pillow \
flask \
tarfile \
tensorflow
tensorflow \
torch \
torchvision \
opencv-python


# TensorBoard(6006) # jupyter noteboook(8888)
EXPOSE 6006 8888 7777

RUN mkdir /workdir

COPY /Users/zhangyaxu/street-view /workdir
COPY /street-view /workdir/street-view

WORKDIR "/root"
# CMD ["/bin/bash"]
ENTRYPOINT ["python3", "/workdir/app.py"]
ENTRYPOINT ["python3", "/workdir/street-view/app.py"]