mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Install the "regular" wger project for development
This commit is contained in:
@@ -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 .
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user