Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SD3004 authored Apr 7, 2022
1 parent 9e28013 commit 51110ea
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Pull from existing image
# FROM nvcr.io/nvidia/pytorch:21.05-py3
FROM continuumio/miniconda

## Copy requirements
COPY ./src/requirements.txt .

## Install Python packages in Docker image
RUN pip3 install -r requirements.txt

## Copy all files
COPY ./ ./

## Execute the inference command
CMD ["./src/run_inference.py"]
ENTRYPOINT ["python3"]

0 comments on commit 51110ea

Please sign in to comment.