8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 20:33:11 +00:00
re2o/Dockerfile
Yoann Piétri 43b6a2cdf2 feat: Add dev docker support
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
2021-02-18 19:59:03 +01:00

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