##// END OF EJS Templates
Update docker configurations
Update docker configurations

File last commit:

r300:c6aee8aed3f9
r300:c6aee8aed3f9
Show More
Dockerfile
20 lines | 533 B | text/x-dockerfile-config | DockerLexer
SIR with docker-compose working
r299 FROM python:2.7-slim
Fiorella Quino
media root...
r282
# set working directory
RUN mkdir /radarsys
WORKDIR /radarsys
# Install python dependences
Fiorella Quino
docker compose production...
r296 ADD requirements.txt ./requirements.txt
SIR with docker-compose working
r299 RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \
gcc \
g++ \
&& pip install -v --timeout 120 -r requirements.txt --no-cache-dir --index-url http://10.10.20.128:8010/simple --trusted-host 10.10.20.128 \
&& apt-get purge -y --auto-remove gcc g++\
&& rm -rf /var/lib/apt/lists/*
Fiorella Quino
media root...
r282
Fiorella Quino
docker compose production...
r296 # Copy the main application.
COPY . ./
Fiorella Quino
Dockerfile updated...
r298
SIR with docker-compose working
r299 EXPOSE 8000