when we build, stick last 5 commits into a file for showing in F/E
This commit is contained in:
@@ -15,13 +15,14 @@ RUN truncate -s0 /tmp/preseed.cfg && \
|
|||||||
apt-get install -y tzdata
|
apt-get install -y tzdata
|
||||||
## cleanup of files from setup
|
## cleanup of files from setup
|
||||||
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
RUN apt-get update && apt-get -y install python3-pip python3-psycopg2 libpq-dev gunicorn mediainfo cmake libgl1-mesa-glx libglib2.0-0 python3-ldap libjpeg-turbo-progs ffmpeg
|
RUN apt-get update && apt-get -y install python3-pip python3-psycopg2 libpq-dev gunicorn mediainfo cmake libgl1-mesa-glx libglib2.0-0 python3-ldap libjpeg-turbo-progs ffmpeg git
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip3 install -r requirements.txt
|
RUN pip3 install -r requirements.txt
|
||||||
RUN pip3 install --upgrade pillow --user
|
RUN pip3 install --upgrade pillow --user
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
EXPOSE 55432
|
EXPOSE 55432
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN git log -n 5 > ./internal/git-log.txt
|
||||||
RUN chown mythtv:mythtv /code
|
RUN chown mythtv:mythtv /code
|
||||||
RUN chown mythtv:mythtv ./static
|
RUN chown mythtv:mythtv ./static
|
||||||
RUN chown mythtv:mythtv ./static/*
|
RUN chown mythtv:mythtv ./static/*
|
||||||
|
|||||||
Reference in New Issue
Block a user