feat: merge dt and celery container builds (#6973)
* feat: merge dt and celery container builds * fix: mount /a instead of /assets * feat: use consolidated script * fix: get start.sh dependencies. Remove watchdog * fix: correct source path
This commit is contained in:
parent
661941dbf1
commit
ff228a5913
|
@ -3,14 +3,23 @@ LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"
|
|||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get purge -y imagemagick imagemagick-6-common
|
||||
|
||||
COPY . .
|
||||
COPY ./dev/build/start.sh ./start.sh
|
||||
COPY ./dev/build/datatracker-start.sh ./datatracker-start.sh
|
||||
COPY ./dev/build/celery-start.sh ./celery-start.sh
|
||||
|
||||
RUN pip3 --disable-pip-version-check --no-cache-dir install -r requirements.txt
|
||||
RUN chmod +x start.sh && \
|
||||
|
||||
RUN chmod +x datatracker-start.sh && \
|
||||
chmod +x celery-start.sh \
|
||||
chmod +x docker/scripts/app-create-dirs.sh && \
|
||||
sh ./docker/scripts/app-create-dirs.sh
|
||||
|
||||
VOLUME [ "/assets" ]
|
||||
RUN mkdir -p /a
|
||||
|
||||
VOLUME [ "/a" ]
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
|
Loading…
Reference in a new issue