-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (19 loc) · 724 Bytes
/
Dockerfile
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
FROM google/cloud-sdk:475.0.0-emulators
LABEL maintainer="Nícolas Basilio"
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
WORKDIR /home/node/app
RUN printf "deb http://deb.debian.org/debian testing main\ndeb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list && \
apt-get update -y && apt-get upgrade -y && \
apt-get install -y \
nodejs=20.13.1+dfsg-2 \
npm=9.2.0~ds1-2 \
procps=2:4.0.4-4 \
--no-install-recommends && \
npm i [email protected] [email protected] -g && \
apt-get clean && rm -rf /var/lib/apt/lists/*
COPY ./package.json .
COPY ./pnpm-lock.yaml .
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
COPY . .
CMD [ "tail", "-f", "/dev/null" ]