mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 18:31:02 +01:00
Update Dockerfile
This commit is contained in:
@@ -28,30 +28,29 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
|
||||
USER root
|
||||
#USER root
|
||||
#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 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
|
||||
|
||||
ENV FROM_EMAIL='wger Workout Manager <wger@example.com>' \
|
||||
ENV LOCATION=/data
|
||||
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
|
||||
ENV FROM_EMAIL='wger Workout Manager <wger@example.com>'
|
||||
#ENV LOCATION=/data
|
||||
# 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
|
||||
|
||||
#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 \
|
||||
@@ -92,8 +91,8 @@ RUN if ! command -v bash >/dev/null 2>/dev/null; then (apt-get update && apt-get
|
||||
# 4 Entrypoint #
|
||||
################
|
||||
|
||||
RUN chmod 777 /run.sh
|
||||
CMD [ "/run.sh" ]
|
||||
#RUN chmod 777 /run.sh
|
||||
#CMD [ "/run.sh" ]
|
||||
|
||||
############
|
||||
# 5 Labels #
|
||||
|
||||
Reference in New Issue
Block a user