Skip to content

Commit

Permalink
cleanup part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Dec 27, 2024
1 parent da64199 commit 6d378e7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile-slim
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM node:20.9.0-bookworm-slim

ARG TARGETPLATFORM=linux/amd64

ENV SITESPEED_IO_BROWSERTIME__DOCKER true
ENV SITESPEED_IO_BROWSERTIME__VIDEO false
ENV SITESPEED_IO_BROWSERTIME__BROWSER firefox
ENV SITESPEED_IO_BROWSERTIME__VISUAL_METRICS false
ENV SITESPEED_IO_BROWSERTIME__HEADLESS true
ENV SITESPEED_IO_BROWSERTIME__DOCKER=true
ENV SITESPEED_IO_BROWSERTIME__VIDEO=false
ENV SITESPEED_IO_BROWSERTIME__BROWSER=firefox
ENV SITESPEED_IO_BROWSERTIME__VISUAL_METRICS=false
ENV SITESPEED_IO_BROWSERTIME__HEADLESS=true

ENV PATH="/usr/local/bin:${PATH}"

Expand All @@ -21,7 +21,7 @@ RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . /usr/src/app
RUN CHROMEDRIVER_SKIP_DOWNLOAD=true EGDEDRIVER_SKIP_DOWNLOAD=true npm install --production && npm cache clean --force && npm uninstall npm -g
RUN CHROMEDRIVER_SKIP_DOWNLOAD=true EGDEDRIVER_SKIP_DOWNLOAD=true npm ci --only=production && npm cache clean --force && npm uninstall npm npx -g
WORKDIR /usr/src/app
COPY docker/scripts/start-slim.sh /start.sh

Expand Down

0 comments on commit 6d378e7

Please sign in to comment.