Skip to content

Commit fade4e5

Browse files
committed
trim down the dockerfile
1 parent 78630b6 commit fade4e5

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

Dockerfile

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,13 @@ COPY package.json pnpm-lock.yaml ./
1111
RUN npm install -g pnpm && pnpm install
1212

1313
# Add the ARG directives for build-time environment variables
14-
ARG VITE_HOST
15-
ARG VITE_PORT
16-
ARG VITE_USER
17-
ARG VITE_PASS
18-
ARG VITE_NETWORK
19-
ARG VITE_TLS_CERT
20-
ARG VITE_ADMIN_MACAROON
21-
ARG VITE_LND_GRPC
14+
ARG VITE_FAUCET_API
2215

2316
# Copy the rest of the application files into the container
2417
COPY . .
2518

2619
# Build the application with the environment variables
27-
RUN VITE_HOST=$VITE_HOST \
28-
VITE_PORT=$VITE_PORT \
29-
VITE_USER=$VITE_USER \
30-
VITE_PASS=$VITE_PASS \
31-
VITE_NETWORK=$VITE_NETWORK \
32-
VITE_TLS_CERT=$VITE_TLS_CERT \
33-
VITE_ADMIN_MACAROON=$VITE_ADMIN_MACAROON \
34-
VITE_LND_GRPC=$VITE_LND_GRPC \
20+
RUN VITE_FAUCET_API=$VITE_FAUCET_API \
3521
pnpm build
3622

3723
# Expose the port the application will run on

0 commit comments

Comments
 (0)