Dockerfile 212 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
FROM python:3.7 
RUN pip install --upgrade pip 
RUN pip install flask influxdb stomp.py requests 
RUN mkdir /app 
COPY src/ /app
RUN useradd per_storage 
USER per_storage
WORKDIR /app
CMD ["python","-u","app.py"]