Skip to content

Commit

Permalink
fix: worker s6 v3
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloromeo committed Jul 23, 2024
1 parent 5cf6556 commit d694bf3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions worker/extended-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@ LABEL maintainer="pabloromeo"
COPY /docker-mod/root/etc/ /etc/
COPY /app /app

RUN bash /etc/cont-init.d/92-install-dependencies && \
bash /etc/cont-init.d/93-npm-install && \
rm /etc/cont-init.d/92-install-dependencies && \
rm /etc/cont-init.d/93-npm-install && \
RUN bash /etc/s6-overlay/s6-rc.d/1-install-dependencies/run && \
bash /etc/s6-overlay/s6-rc.d/2-npm-install/run && \
rm -rf /etc/s6-overlay/s6-rc.d/1-install-dependencies && \
rm -rf /etc/s6-overlay/s6-rc.d/2-npm-install && \
rm -rf /etc/s6-overlay/s6-rc.d/3-install-shim/dependencies.d && \
rm -rf /etc/s6-overlay/s6-rc.d/4-setup-codecs-dir/dependencies.d && \
rm /etc/s6-overlay/s6-rc.d/user/contents.d/1-install-dependencies && \
rm /etc/s6-overlay/s6-rc.d/user/contents.d/2-npm-install && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \
Expand Down

0 comments on commit d694bf3

Please sign in to comment.