##// END OF EJS Templates
New template, clean code, workig for realtime
New template, clean code, workig for realtime

File last commit:

r16:7151452b8eb5
r21:dc5f8680b6e1
Show More
Dockerfile
15 lines | 490 B | text/x-dockerfile-config | DockerLexer
FROM python:2.7-slim
RUN mkdir /app
WORKDIR /app
ADD requirements.txt ./requirements.txt
RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
tzdata \
&& ln -snf /usr/share/zoneinfo/America/Lima /etc/localtime \
&& echo "America/Lima" > /etc/timezone \
&& dpkg-reconfigure -f noninteractive tzdata \
&& pip install -r requirements.txt \
&& apt-get purge -y --auto-remove gcc g++ \
&& rm -rf /var/lib/apt/lists/*
COPY . /app/