mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
fix(bot): upgrade node verison to 16
This commit is contained in:
parent
7a52653260
commit
0c9f60ccd9
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM node:14 AS builder
|
FROM node:16 AS builder
|
||||||
|
|
||||||
# Create the user and group files that will be used in the running container to
|
# Create the user and group files that will be used in the running container to
|
||||||
# run the process as an unprivileged user.
|
# run the process as an unprivileged user.
|
||||||
|
@ -15,7 +15,7 @@ COPY ./package.json ./yarn.lock /src/
|
||||||
COPY ./packages/bot/package.json /src/packages/bot/
|
COPY ./packages/bot/package.json /src/packages/bot/
|
||||||
RUN yarn workspace @roleypoly/bot install --focus
|
RUN yarn workspace @roleypoly/bot install --focus
|
||||||
|
|
||||||
FROM node:14-slim AS final
|
FROM node:16-slim AS final
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
COPY --from=builder /user/group /user/passwd /etc/
|
COPY --from=builder /user/group /user/passwd /etc/
|
||||||
|
|
Loading…
Add table
Reference in a new issue