fix docker build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-02-25 01:23:39 +01:00
parent de0480de5b
commit 18762a0bc2
3 changed files with 5 additions and 4 deletions

2
.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
.woodpecker.yml
docker

View File

@@ -3,7 +3,8 @@ steps:
image: docker:dind
environment:
COMPOSE_PROJECT_NAME: ${CI_REPO_OWNER,,}-${CI_REPO_NAME,,}-${CI_COMMIT_BRANCH//\//-}
SERVICE_3000_TAGS: urlprefix-librodrome.org/*
LETSENCRYPT_HOST: librodrome.org
SERVICE_3000_TAGS: urlprefix-librodrome.org:443/*
NUXT_PUBLIC_SITE_URL: https://librodrome.org
NUXT_ADMIN_PASSWORD:
from_secret: NUXT_ADMIN_PASSWORD

View File

@@ -7,6 +7,7 @@ FROM node:${NODE_VERSION} AS base
ARG PORT=3000
WORKDIR /src
COPY . .
# Build
FROM base AS build
@@ -14,9 +15,6 @@ FROM base AS build
COPY package.json pnpm-lock.yaml ./
RUN npm install
RUN npm rebuild sharp
COPY . .
RUN npm run build
# Production