Spaces:
Running
Running
神代綺凛
commited on
Commit
•
2225300
1
Parent(s):
55151cc
chore: docker build arg
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
FROM node:20-alpine as build
|
2 |
|
|
|
|
|
3 |
WORKDIR /app
|
4 |
|
5 |
COPY . .
|
6 |
|
7 |
RUN yarn --frozen-lockfile \
|
8 |
-
&& yarn build
|
9 |
|
10 |
|
11 |
FROM node:20-alpine
|
|
|
1 |
FROM node:20-alpine as build
|
2 |
|
3 |
+
ARG TRUST_ORIGIN
|
4 |
+
|
5 |
WORKDIR /app
|
6 |
|
7 |
COPY . .
|
8 |
|
9 |
RUN yarn --frozen-lockfile \
|
10 |
+
&& TRUST_ORIGIN=$TRUST_ORIGIN yarn build
|
11 |
|
12 |
|
13 |
FROM node:20-alpine
|