File tree Expand file tree Collapse file tree 2 files changed +12
-25
lines changed Expand file tree Collapse file tree 2 files changed +12
-25
lines changed Original file line number Diff line number Diff line change 2
2
# The `APP_HOST` variable defaults onto what Next.js server uses in a Docker environment
3
3
4
4
ARG NODE_VERSION=18.19.0
5
- ARG RUBY_VERSION=3.2.2-r1
6
- ARG PIP_VERSION=23.3.1-r0
5
+ ARG RUBY_VERSION=1:3.1
6
+ ARG PIP_VERSION=23.0.1+dfsg-1
7
7
ARG PRISMA_VERSION=4.16.2
8
8
ARG APP_HOST=172.17.0.2
9
9
ARG PORT=3000
10
10
11
- # Note: the pandoc package version naming is completely different than the official repository so as of now
12
- # we are not specifying a fixed version (ref: https://pkgs.alpinelinux.org/package/edge/community/x86_64/pandoc-cli)
13
-
14
- FROM node:${NODE_VERSION}-alpine
11
+ FROM node:${NODE_VERSION}-slim
15
12
16
13
ARG RUBY_VERSION
17
14
ARG PIP_VERSION
@@ -21,27 +18,17 @@ ARG PORT
21
18
22
19
USER root
23
20
24
- RUN apk add \
25
- # This is for the code we manage
26
- "build-base" \
27
- "libffi-dev" \
28
- "libcurl" \
21
+ # Install necessary dependencies
22
+ RUN apt-get update && apt-get install -y \
23
+ "chromium" \
29
24
"curl" \
30
25
"git" \
31
- "pandoc-cli" \
26
+ "pandoc" \
27
+ "python3-pip=${PIP_VERSION}" \
32
28
"ruby-dev=${RUBY_VERSION}" \
33
- "py3-pip=${PIP_VERSION}" \
34
- # This is the dependencies needed by chromium
35
- "chromium" \
36
- "libstdc++" \
37
- "harfbuzz" \
38
- "nss" \
39
- "freetype" \
40
- "ttf-freefont" \
41
- "font-noto-emoji" \
42
- "wqy-zenhei"
43
-
44
- ENV CHROME_BIN="/usr/bin/chromium-browser"
29
+ && rm -rf /var/lib/apt/lists/*
30
+
31
+ ENV CHROME_BIN="/usr/bin/chromium"
45
32
ENV CHROME_PATH="/usr/lib/chromium/"
46
33
47
34
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH="${CHROME_BIN}"
Original file line number Diff line number Diff line change 1
1
generator client {
2
2
provider = " prisma-client-js "
3
- binaryTargets = [" native " , " linux-musl- openssl-3.0 .x" ]
3
+ binaryTargets = [" native " , " debian- openssl-1.1 .x" ]
4
4
previewFeatures = [" fullTextSearch " , " views " ]
5
5
}
6
6
You can’t perform that action at this time.
0 commit comments