fixed BUG-132 failing to create symlink on first build by being explicit in Dockerfile on how to handle content in static/
This commit is contained in:
@@ -6,6 +6,13 @@ RUN groupadd -g ${PJM_GID} mythtv && useradd -r -u ${PJM_UID} -g ${PJM_GID} myth
|
||||
# sudo used in dev container
|
||||
RUN apt-get update && apt-get -y install libpq-dev mediainfo cmake libgl1-mesa-glx libglib2.0-0 libjpeg-turbo-progs ffmpeg git sudo
|
||||
COPY . .
|
||||
# be explicity with this special directory, don't presume the COPY . . above
|
||||
# has set things up perfectly from DEV to PROD
|
||||
RUN rm -rf static
|
||||
RUN mkdir -p static/Bin
|
||||
RUN mkdir -p static/Import
|
||||
RUN mkdir -p static/Storage
|
||||
RUN mkdir -p static/Metadata
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN pip3 install --upgrade pillow --user
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user