mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 05:38:46 +00:00
added k3d test scripts
This commit is contained in:
parent
98ce0e8c2e
commit
b724f520cd
12 changed files with 283 additions and 0 deletions
22
Dockerfile-tilt
Normal file
22
Dockerfile-tilt
Normal file
|
@ -0,0 +1,22 @@
|
|||
# syntax = docker/dockerfile:latest
|
||||
FROM docker.io/node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --link package.json pnpm-lock.yaml* ./
|
||||
|
||||
RUN <<EOF
|
||||
set -xe
|
||||
apk add libc6-compat
|
||||
apk add --virtual .gyp python3 make g++
|
||||
npm install -g pnpm
|
||||
npm install -g next
|
||||
EOF
|
||||
|
||||
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm fetch | grep -v "cross-device link not permitted\|Falling back to copying packages from store"
|
||||
|
||||
RUN --mount=type=cache,id=pnpm-store,target=/root/.local/share/pnpm/store pnpm install -r --offline
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npx", "next", "dev"]
|
Loading…
Add table
Add a link
Reference in a new issue