Skip to content
Open
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
7 changes: 4 additions & 3 deletions Convert-food101-model/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM ubuntu
FROM ubuntu:18.04
ARG DEBIAN_FRONTEND=noninteractive

COPY requirements.txt /requirements.txt

Expand All @@ -9,7 +10,7 @@ RUN apt-get update && apt-get install -y \
python-pip \
python-dev \
ipython \
ipython-notebook
jupyter-notebook

# Install python requirements
RUN pip install --upgrade pip
Expand All @@ -23,4 +24,4 @@ RUN mv food101-model.hdf5 /workspace/
EXPOSE 8888

# Launch Jupyter notebook
CMD ["jupyter-notebook","--allow-root", "--ip=0.0.0.0", "--notebook-dir=/workspace"]
CMD ["jupyter-notebook", "--allow-root", "--ip=0.0.0.0", "--notebook-dir=/workspace"]