Skip to content

Commit 1ee0474

Browse files
committed
update Dockerfile
1 parent da723f7 commit 1ee0474

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ FROM node:20.20.0-alpine3.22
2222
WORKDIR /app
2323

2424
# Set environment variables
25+
ARG FLW_SECRET_KEY
26+
ARG FLW_ENCRYPTION_KEY
27+
2528
ENV DOCKER=true
2629
ENV NODE_ENV=production
2730
ENV FLW_SECRET_KEY=${FLW_SECRET_KEY}
31+
ENV FLW_ENCRYPTION_KEY=${FLW_ENCRYPTION_KEY}
2832

2933
# Copy package files and install production dependencies only
3034
COPY package*.json ./
@@ -34,4 +38,4 @@ RUN npm ci --omit=dev
3438
COPY --from=builder /app/build ./build
3539

3640
# Run the application
37-
CMD ["node", "build/index.js", "--tools=create_checkout,disable_checkout,read_transaction,resend_transaction_webhook"]
41+
CMD ["node", "build/index.js", "--tools=all"]

0 commit comments

Comments
 (0)