Dockerfile 453 Bytes
Newer Older
BERJON Matthieu's avatar
BERJON Matthieu committed
1
FROM debian:stretch
2

3
# install system packages
BERJON Matthieu's avatar
BERJON Matthieu committed
4 5 6 7 8
RUN apt-get update && apt-get install -y \
  mysql-server default-libmysqlclient-dev \
	nginx-light zip	\
  python3 python3-dev python3-pip python3-django python3-mysqldb python-mysqldb \
  python3-django-environ
9 10

COPY	. /opt/allgo
BERJON Matthieu's avatar
BERJON Matthieu committed
11
COPY init /dk/container_init
BERJON Matthieu's avatar
BERJON Matthieu committed
12
RUN	bash /opt/allgo/setup/dk/container_init
13 14 15

WORKDIR /opt/allgo
LABEL   dk.migrate_always=1
BERJON Matthieu's avatar
BERJON Matthieu committed
16
# ENTRYPOINT /bin/bash /opt/allgo/setup/dk/run-allgo