Commit b6a6dc95 authored by BAIRE Anthony's avatar BAIRE Anthony

store additional files into setup/files/

(like in the other images)
parent 60e0abfb
......@@ -20,16 +20,15 @@ RUN cd /tmp && pip3 install -r requirements.txt && rm requirements.txt
COPY . /opt/allgo
COPY .env /opt/allgo
RUN apply-patches /opt/allgo/setup/patches/*.diff
COPY init /dk/container_init
RUN rm /etc/nginx/sites-enabled/default && \
rm /etc/supervisor/supervisord.conf && \
ln -s "/opt/allgo/setup/dk/allgo.conf" /etc/nginx/sites-enabled/allgo && \
ln -s "/opt/allgo/setup/dk/run-allgo" /usr/local/bin && \
ln -s "/opt/allgo/setup/dk/supervisord.conf" /etc/supervisor/ && \
bash /opt/allgo/setup/dk/container_init
# apply patches in setup/patches/
# install all files in setup/files/ (but using symbolic links to ease the
# development)
RUN apply-patches /opt/allgo/setup/patches/*.diff &&\
cd /opt/allgo/setup/files &&\
find * \! -type d | while read path ; do \
mkdir -p -- "`dirname -- "$path"`" && rm -f -- "/$path" &&\
ln -s "$PWD/$path" "/$path" ;\
done
WORKDIR /opt/allgo
LABEL dk.migrate_always=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment