Skip to content

Commit f41b4c0

Browse files
authored
Update Dockerfile
1 parent 3ede35d commit f41b4c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22-alpine AS BUILD_IMAGE
1+
FROM node:20 AS build
22

33
ENV VERSION=v3.8.0
44

@@ -14,7 +14,7 @@ RUN git clone https://github.com/Dragory/modmailbot && \
1414
minify-all
1515

1616

17-
FROM node:22-alpine
17+
FROM node:20-alpine
1818
ENV MM_MAIN_SERVER_ID= \
1919
MM_INBOX_SERVER_ID= \
2020
MM_LOG_CHANNEL_ID= \
@@ -27,7 +27,7 @@ ENV MM_MAIN_SERVER_ID= \
2727
MM_STATUS="Modmail, the way to report things" \
2828
MM_URL=
2929

30-
COPY --from=BUILD_IMAGE /usr/src/app/modmailbot /usr/src/modmailbot
30+
COPY --from=build /usr/src/app/modmailbot /usr/src/modmailbot
3131

3232
WORKDIR /usr/src/modmailbot
3333

0 commit comments

Comments
 (0)