build: 🐛 Fixed build apt commands

This commit is contained in:
Keith Irwin 2023-12-28 19:43:37 -07:00
parent d37ba6f18e
commit f704143ec2
Signed by: ki9
GPG Key ID: DF773B3F4A88DA86
1 changed files with 2 additions and 2 deletions

View File

@ -8,10 +8,10 @@ EXPOSE ${API_PORT}
WORKDIR /app
# Install stripe-cli
RUN apt update && apt install curl gpg
RUN apt-get update && apt-get install -y curl gpg
RUN curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor >/usr/share/keyrings/stripe.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" >>/etc/apt/sources.list.d/stripe.list \
&& apt update && apt install stripe
&& apt-get update && apt-get install -y stripe
# Install app dependencies
COPY package*.json ./