build: 🐛 Fixed build apt commands
This commit is contained in:
parent
d37ba6f18e
commit
f704143ec2
|
@ -8,10 +8,10 @@ EXPOSE ${API_PORT}
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install stripe-cli
|
# 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 \
|
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 \
|
&& 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
|
# Install app dependencies
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
|
Loading…
Reference in New Issue