Skip to content

Commit

Permalink
ci: try alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
mytlogos committed Aug 26, 2022
1 parent 8adf3a8 commit 1339934
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# syntax=docker/dockerfile:1
FROM node:18
FROM node:18-alpine
ARG PROJECT_VERSION

RUN apt update && apt install -y chromium && apt-get clean
RUN apk add --no-cache chromium wget curl grep unzip
RUN export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN export PUPPETEER_EXECUTABLE_PATH=$(which chromium)

WORKDIR /code
COPY prepare-docker.sh ./
# download release and install dependencies
RUN /bin/bash ./prepare-docker.sh $PROJECT_VERSION
RUN /bin/sh ./prepare-docker.sh $PROJECT_VERSION
COPY *.env ./

0 comments on commit 1339934

Please sign in to comment.