fix: update dockerfile & use NPM droplet

This commit is contained in:
DecDuck
2025-03-31 09:32:09 +11:00
parent 96a1199fff
commit c7af02c15e
8 changed files with 80 additions and 35 deletions

View File

@@ -1,11 +1,13 @@
# pull pre-configured and updated build environment
FROM debian:12.10-slim AS build-system
FROM debian:testing-20250317-slim AS build-system
# setup workdir
RUN mkdir /build
WORKDIR /build
# install dependencies and build
RUN apt-get update -y
RUN apt-get install node-corepack -y
RUN corepack enable
COPY . .
RUN NUXT_TELEMETRY_DISABLED=1 yarn install