File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,15 @@ RUN mix release
7777# the compiled release and other runtime necessities
7878FROM ${RUNNER_IMAGE}
7979
80+ # Copy the puppeteer cache from the node stage
81+ COPY --from=node_stage --chown=nobody:root /app/puppeteer /app/puppeteer
82+
83+ COPY --from=node_stage /usr/local/bin /usr/local/bin
84+
8085RUN apt-get update -y && \
8186 apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates \
8287 && apt-get clean && rm -f /var/lib/apt/lists/*_*
8388
84- COPY --from=node_stage /usr/local/bin /usr/local/bin
85-
8689RUN apt-get update -y && apt-get install -y ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 libgcc1 libglib2.0-0 libgtk-3-0 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils
8790
8891# Set the locale
@@ -101,9 +104,6 @@ ENV MIX_ENV="prod"
101104# Copy the final release from the build stage
102105COPY --from=builder --chown=nobody:root /app/_build/${MIX_ENV}/rel/algora ./
103106
104- # Copy the puppeteer cache from the node stage
105- COPY --from=node_stage --chown=nobody:root /app/puppeteer ./puppeteer
106-
107107USER nobody
108108
109109# If using an environment that doesn't automatically reap zombie processes, it is
You can’t perform that action at this time.
0 commit comments