Skip to content

Commit

Permalink
feat: 调整node版本
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Jan 11, 2024
1 parent dac4795 commit c12df7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS install
FROM node:20-alpine AS install

WORKDIR /opt/openbmclapi
RUN apk add build-base
Expand All @@ -7,7 +7,7 @@ RUN npm ci
COPY src ./src
RUN npm run build

FROM node:18-bullseye-slim AS build
FROM node:20-bullseye-slim AS build

RUN apt-get update && \
apt-get install -y nginx tini
Expand Down

0 comments on commit c12df7c

Please sign in to comment.