diff --git a/Dockerfile b/Dockerfile index 298907b..cbd84e7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM satantime/puppeteer-node:19-slim -# Create app directory WORKDIR /usr/src/app -RUN mkdir -p /usr/src/app/Downloads ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium @@ -19,7 +17,6 @@ RUN apt update -qq \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /src/*.deb -# Install app dependencies COPY package*.json ./ RUN yarn install --frozen-lockfile --production && yarn cache clean @@ -31,4 +28,4 @@ VOLUME /storage ENV DATA_PATH="/storage" # We run a fake display and run our script using Xvfb -CMD xvfb-run --server-args="-screen 0 1024x768x24" yarn start \ No newline at end of file +CMD xvfb-run --server-args="-screen 0 1024x768x16" yarn start \ No newline at end of file