mirror of
https://github.com/Arlind-dev/sulej.ch.git
synced 2025-12-01 09:35:13 +01:00
feat(init)!: create sulej.ch
This commit is contained in:
17
Dockerfile.build
Normal file
17
Dockerfile.build
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM node:alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm run build
|
||||
|
||||
RUN mkdir -p /output && cp -r /app/build/. /output/
|
||||
|
||||
VOLUME /output
|
||||
Reference in New Issue
Block a user