Skip to content
Snippets Groups Projects

pach327e-tudresden-task

8 files
+ 389
0
Compare changes
  • Side-by-side
  • Inline
Files
8
Dockerfile 0 → 100644
+ 21
0
#Deriving the latest base image
FROM python:latest
#Labels as key value pair
LABEL Maintainer="roushan.me17"
# Any working directory can be chosen as per choice like '/' or '/home' etc
# i have chosen /usr/app/src
WORKDIR /model_inference
#to COPY the remote file at working directory in container
COPY *.py /model_inference
COPY requirements.txt /model_inference
RUN pip install -r requirements.txt
#CMD instruction should be used to run the software
#contained by your image, along with any arguments.
CMD [ "python3", "./load_model.py"]
Loading