Dockerfile入参环境变量新增

This commit is contained in:
tangly1024.com
2024-09-04 17:36:00 +08:00
parent a54bb8fadf
commit d0a4acd5c3

View File

@@ -1,4 +1,6 @@
ARG NOTION_PAGE_ID
ARG NEXT_PUBLIC_THEME
# Install dependencies only when needed
FROM node:18-alpine3.18 AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.