Install the "regular" wger project for development

This commit is contained in:
Roland Geider
2025-04-29 14:00:45 +02:00
parent 627bf723fd
commit 86fb6529cf
2 changed files with 4 additions and 8 deletions

View File

@@ -20,10 +20,5 @@ RUN apt-get update && \
&& ln -s /usr/bin/yarnpkg /usr/bin/yarn \
&& ln -s /usr/bin/sassc /usr/bin/sass
COPY ./pyproject.toml /tmp/pyproject.toml
COPY ./wger/version.py /tmp/wger/version.py
COPY ./wger/__init__.py /tmp/wger/__init__.py
COPY ./README.md /tmp/README.md
USER wger
RUN pip3 install --break-system-packages --user --group dev /tmp/
RUN pip3 install --break-system-packages --user --group dev --editable .

View File

@@ -89,10 +89,11 @@ COPY ${DOCKER_DIR}/celery/start-flower /start-flower
RUN chmod +x /home/wger/entrypoint.sh \
&& chmod +x /start-beat \
&& chmod +x /start-worker \
&& chmod +x /start-flower
&& chmod +x /start-flower \
&& chown wger:wger /home/wger/src
USER wger
RUN pip3 install --break-system-packages --user -e . \
RUN pip3 install --break-system-packages --user --editable . \
&& mkdir ~/media \
&& mkdir ~/static \
&& mkdir ~/beat \