Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM python:3.8
ENV PYTHONUNBUFFERED 1
ENV USE_POSTGRESQL 1
ENV PDM_PYTHON /venv/.venv/bin/python

RUN apt-get update && \
apt-get install --no-install-recommends -y gettext && \
Expand All @@ -16,7 +17,6 @@ WORKDIR /code
COPY pyproject.toml pdm.lock /venv/
RUN cd /venv && pdm sync
RUN cd /venv && pdm add psycopg[binary]==3.1.8
RUN pdm use -f /venv/.venv
COPY . /code/
COPY pytition/pytition/settings/config_example.py /config/docker_config.py
RUN touch /config/__init__.py
Expand Down
2 changes: 1 addition & 1 deletion doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ Last command before being able to click on the "http://0.0.0.0:8000/" link that

.. code-block:: bash

$ docker-compose exec web ./dev/initialize.sh
$ docker-compose exec web pdm run ./dev/initialize.sh

Aaaand that's it! You can now just click on the links:

Expand Down