mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-12 21:06:27 +00:00
Yoann Piétri
43b6a2cdf2
Dockerfile and docker-compose files are now included in directory. They start a db, migrate, create a superuser if it doesn't already exists and start the server
12 lines
No EOL
411 B
Docker
12 lines
No EOL
411 B
Docker
FROM python:3
|
|
ENV PYTHONUNBUFFERED=1
|
|
RUN apt-get update && apt-get install -y --no-install-recommends gettext-base libpq-dev
|
|
WORKDIR /code
|
|
COPY requirements.txt /code/
|
|
COPY postgresql-requirements.txt /code/
|
|
COPY dev-requirements.txt /code/
|
|
RUN pip install -r requirements.txt
|
|
RUN pip install -r postgresql-requirements.txt
|
|
RUN pip install -r dev-requirements.txt
|
|
COPY . /code/
|
|
CMD ./docker/docker-entrypoint.sh |