Skip to content

Commit

Permalink
alpine 3.21 and node 22 in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
si458 authored Dec 18, 2024
1 parent a1854fa commit 988983b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:20-alpine AS builder
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder

RUN mkdir -p /opt/meshcentral/meshcentral
COPY ./ /opt/meshcentral/meshcentral/
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN rm -rf /opt/meshcentral/meshcentral/docker
RUN rm -rf /opt/meshcentral/meshcentral/node_modules


FROM --platform=$TARGETPLATFORM alpine:3.19
FROM --platform=$TARGETPLATFORM alpine:3.21

#Add non-root user, add installation directories and assign proper permissions
RUN mkdir -p /opt/meshcentral/meshcentral
Expand Down

0 comments on commit 988983b

Please sign in to comment.