Keep debug scripts out of browser install layer
This commit is contained in:
+1
-1
@@ -25,11 +25,11 @@ RUN apt-get update \
|
|||||||
COPY --from=build /app/node_modules ./node_modules
|
COPY --from=build /app/node_modules ./node_modules
|
||||||
COPY --from=build /app/dist ./dist
|
COPY --from=build /app/dist ./dist
|
||||||
COPY --from=build /app/dist-client ./dist-client
|
COPY --from=build /app/dist-client ./dist-client
|
||||||
COPY scripts ./scripts
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
RUN ./node_modules/.bin/playwright install --with-deps --only-shell chromium \
|
RUN ./node_modules/.bin/playwright install --with-deps --only-shell chromium \
|
||||||
&& npm cache clean --force \
|
&& npm cache clean --force \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
||||||
|
COPY scripts ./scripts
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["node", "dist/server.js"]
|
CMD ["node", "dist/server.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user