Implemented Stripe Embedded Checkout Component;

Inclusion of .env files;
This commit is contained in:
Chris-1010
2025-01-22 22:39:33 +00:00
parent a36c745a4f
commit 92fdf3f3f3
19 changed files with 270 additions and 233 deletions

View File

@@ -3,6 +3,14 @@ FROM python:3.10
# Set the working directory
WORKDIR /web_server
# Args that can be passed during build
ARG FLASK_SECRET_KEY
ARG STRIPE_SECRET_KEY
# Set as environment variables
ENV FLASK_SECRET_KEY=${FLASK_SECRET_KEY}
ENV STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
# Install dependencies
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt