Implemented Stripe Embedded Checkout Component;
Inclusion of .env files;
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user