##// END OF EJS Templates
Update Dockerfile
jespinoza -
r347:46080b395512
parent child
Show More
@@ -1,20 +1,20
1 FROM python:2.7-slim
1 FROM python:3.7-slim
2 2
3 3 # set working directory
4 4 RUN mkdir /radarsys
5 5 WORKDIR /radarsys
6 6
7 7 # Install python dependences
8 8 ADD requirements.txt ./requirements.txt
9 9 RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \
10 10 gcc \
11 11 g++ \
12 12 && pip install -v --timeout 120 -r requirements.txt --no-cache-dir \
13 13 && apt-get purge -y --auto-remove gcc g++\
14 14 && rm -rf /var/lib/apt/lists/*
15 15
16 16 # Copy the main application.
17 17 COPY . ./
18 18
19 19 EXPOSE 8000
20 20
General Comments 0
You need to be logged in to leave comments. Login now