-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (29 loc) · 707 Bytes
/
Dockerfile
File metadata and controls
32 lines (29 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM ruby:3.2.2-bookworm
WORKDIR /srv
COPY Gemfile /srv/
COPY Gemfile.lock /srv/
COPY package.json /srv/
COPY yarn.lock /srv/
RUN set -ex \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
zip \
bash \
curl \
git \
ca-certificates \
python3-dev \
build-essential \
&& curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh \
&& bash nodesource_setup.sh \
&& apt-get install -y --no-install-recommends \
nodejs \
&& corepack enable \
&& corepack install \
&& gem update --system \
&& bundle config set path "./vendor" \
&& nodejs --version \
&& yarn --version \
&& ruby --version \
&& gem --version