chore: frontend build

This commit is contained in:
tao.chen
2026-07-31 15:08:31 +08:00
parent 9fc886a55e
commit 86988bdaef
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -2,7 +2,9 @@ version: '3.8'
services:
web:
image: nginx:alpine
build:
context: .
dockerfile: frontend/Dockerfile
restart: unless-stopped
# Architecture §2.2: this is the only service exposed to the host. The
# default.conf file is mounted as a template; scripts/nginx-entrypoint.sh
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:22-alpine AS frontend-build
FROM node:24.18.1-slim AS frontend-build
WORKDIR /app
RUN corepack enable && corepack prepare pnpm@10.15.1 --activate
COPY frontend/package.json frontend/pnpm-lock.yaml ./