-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./ |