mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-16 00:13:12 +00:00
9 lines
No EOL
311 B
Docker
9 lines
No EOL
311 B
Docker
FROM python:3.9-bullseye
|
|
ENV PYTHONUNBUFFERED=1
|
|
RUN pip install poetry
|
|
WORKDIR /code
|
|
RUN apt-get update && apt-get install -y --no-install-recommends gettext-base libpq-dev
|
|
COPY pyproject.toml poetry.lock /code/
|
|
RUN poetry install --with dev --extras "postgresql"
|
|
COPY . /code/
|
|
CMD ./docker/docker-entrypoint.sh |