File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed
Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 1- FROM node:18 -bookworm-slim
1+ FROM node:20 -bookworm-slim
22
33ARG NODE_ENV=production
44ENV NODE_ENV=${NODE_ENV}
@@ -8,31 +8,31 @@ WORKDIR /usr/src/app
88
99# Install dependencies. Note that the package names and the package manager are different for Debian-based images.
1010RUN apt-get update && apt-get -y --no-install-recommends upgrade && apt-get install -y --no-install-recommends \
11- git \
12- jq \
13- nano \
14- vim \
15- bash \
16- bash-completion \
17- iputils-ping \
18- telnet \
19- dnsutils \
20- net-tools \
21- tcpdump \
22- && apt-get clean \
23- && rm -rf /var/lib/apt/lists/*
11+ git \
12+ jq \
13+ nano \
14+ vim \
15+ bash \
16+ bash-completion \
17+ iputils-ping \
18+ telnet \
19+ dnsutils \
20+ net-tools \
21+ tcpdump \
22+ && apt-get clean \
23+ && rm -rf /var/lib/apt/lists/*
2424
2525COPY . .
2626
2727RUN yarn install \
28- --prefer-offline \
29- --frozen-lockfile \
30- --non-interactive \
31- --production=false \
32- && yarn cache clean \
33- && yarn autoclean --init \
34- && yarn autoclean --force
28+ --prefer-offline \
29+ --frozen-lockfile \
30+ --non-interactive \
31+ --production=false \
32+ && yarn cache clean \
33+ && yarn autoclean --init \
34+ && yarn autoclean --force
3535
3636EXPOSE 3000
3737
38- CMD ["yarn" , "start:prod" ]
38+ CMD ["yarn" , "run" , " start:prod" ]
You can’t perform that action at this time.
0 commit comments