We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca8a935 commit 21ebfb6Copy full SHA for 21ebfb6
dockerfile
@@ -2,14 +2,6 @@ FROM node:18 AS builder
2
3
WORKDIR /app
4
5
-# Accept build arguments for TinaCMS
6
-ARG TINA_TOKEN
7
-ARG TINA_PUBLIC_CLIENT_ID
8
-
9
-# Set environment variables for build and runtime using the ARGs
10
-ENV TINA_TOKEN=$TINA_TOKEN
11
-ENV TINA_PUBLIC_CLIENT_ID=$TINA_PUBLIC_CLIENT_ID
12
13
# Copy package.json and package-lock.json (if exists)
14
COPY package.json ./
15
COPY package-lock.json ./
@@ -34,7 +26,7 @@ COPY reveal.build.cjs ./
34
26
COPY build.sh ./
35
27
36
28
# Build the site
37
-RUN printenv && npm run build
29
+RUN npm run build
38
30
39
31
# Use Nginx to serve the static files
40
32
FROM nginx:alpine
0 commit comments