1 ##############################################################################
2 # Copyright (c) 2018 Trevor Bramwell and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 ENV PYTHONUNBUFFERED 1
12 ADD requirements.txt /requirements.txt
13 RUN pip install -r /requirements.txt
15 ADD worker/init.sh /init.sh
16 ADD src/ /laas_dashboard/
18 RUN useradd -ms /bin/bash celery
21 WORKDIR /laas_dashboard/