mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-08 15:01:00 +02:00
test
This commit is contained in:
@@ -29,17 +29,19 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
VOLUME [ "/data" ]
|
VOLUME [ "/data" ]
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
ENV FROM_EMAIL='wger Workout Manager <wger@example.com>' \
|
|
||||||
DEBIAN_FRONTEND=noninteractive \
|
|
||||||
LANG=en_US.UTF-8 \
|
|
||||||
LANGUAGE=en_US:en \
|
|
||||||
LC_ALL=en_US.UTF-8 \
|
|
||||||
PYTHONDONTWRITEBYTECODE=1 \
|
|
||||||
PYTHONUNBUFFERED=1 \
|
|
||||||
PATH=/home/wger/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
|
|
||||||
LOCATION=/data
|
|
||||||
WORKDIR /home/wger/src
|
WORKDIR /home/wger/src
|
||||||
|
|
||||||
|
RUN sed -i "1a export FROM_EMAIL='wger Workout Manager <wger@example.com>' && \
|
||||||
|
export DEBIAN_FRONTEND=noninteractive && \
|
||||||
|
export LANG=en_US.UTF-8 && \
|
||||||
|
export LANGUAGE=en_US:en && \
|
||||||
|
export LC_ALL=en_US.UTF-8 && \
|
||||||
|
export PYTHONDONTWRITEBYTECODE=1 && \
|
||||||
|
export PYTHONUNBUFFERED=1 && \
|
||||||
|
export PATH=/home/wger/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin && \
|
||||||
|
export LOCATION=/data" /home/wger/entrypoint.sh
|
||||||
|
|
||||||
#RUN sed -i "1a python3 manage.py migrate || true" /home/wger/entrypoint.sh \
|
#RUN sed -i "1a python3 manage.py migrate || true" /home/wger/entrypoint.sh \
|
||||||
# && sed -i "1a ln -s $LOCATION/database.sqlite /home/wger/db" /home/wger/entrypoint.sh \
|
# && sed -i "1a ln -s $LOCATION/database.sqlite /home/wger/db" /home/wger/entrypoint.sh \
|
||||||
# && sed -i "1a if [ -f /data/database.sqlite ]; then mv -f /data/database.sqlite $LOCATION/database.sqlite; fi" /home/wger/entrypoint.sh \
|
# && sed -i "1a if [ -f /data/database.sqlite ]; then mv -f /data/database.sqlite $LOCATION/database.sqlite; fi" /home/wger/entrypoint.sh \
|
||||||
|
|||||||
Reference in New Issue
Block a user