Diff of /app/backend/Dockerfile [000000] .. [69507b]

Switch to unified view

a b/app/backend/Dockerfile
1
FROM python:3.6-slim-buster
2
3
MAINTAINER Ayrton San Joaquin <ajsanjoaquin@gmail.com>
4
5
# check our python environment
6
RUN python3 --version
7
RUN pip3 --version
8
9
# set work directory for the container
10
#install reqs
11
COPY requirements.txt ./
12
13
RUN pip install --no-cache-dir -r requirements.txt
14
#get model weights
15
RUN apt-get update
16
RUN apt-get -y install wget
17
RUN apt-get install libgtk2.0-dev -y
18
RUN wget -O corona_resnet34.pth https://www.dropbox.com/s/o27w0dik8hdjaab/corona_resnet34.pth?dl=1
19
20
COPY . ./
21
# RUN mv /corona_resnet34.pth /app/corona_resnet34.pth
22
23
EXPOSE 5000
24
25
# Running Python Application
26
CMD ["python3", "app.py"]