2019-12-03 18:26:59 -08:00
|
|
|
FROM ottertune-base
|
2019-11-26 02:44:14 -08:00
|
|
|
|
|
|
|
COPY ./server /app
|
|
|
|
|
|
|
|
WORKDIR /app/website
|
|
|
|
|
|
|
|
COPY ./docker/credentials.py ./website/settings
|
|
|
|
COPY ./docker/start.sh ./docker/start-test.sh ./docker/wait-for-it.sh ./
|
|
|
|
|
2019-12-03 18:26:59 -08:00
|
|
|
RUN /install.sh web \
|
2019-12-11 08:55:19 -08:00
|
|
|
&& chmod +x ./*.sh
|
2019-11-26 02:44:14 -08:00
|
|
|
|
|
|
|
ENV DJANGO_SETTINGS_MODULE=website.settings
|
|
|
|
ENV C_FORCE_ROOT=true
|
|
|
|
|
|
|
|
ENTRYPOINT ["./start.sh"]
|
|
|
|
|