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
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ RUN apt-get update && apt-get install -y git

# Install python packages
RUN pip3 install --upgrade pip
ADD requirements.txt requirements.txt
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt

# We add the banana boilerplate here
ADD server.py .
COPY server.py .

# Add your model weight files
# (in this case we have a python script)
ADD download.py .
COPY download.py .
RUN python3 download.py


# Add your custom app code, init() and inference()
ADD app.py .
COPY app.py .

EXPOSE 8000

Expand Down