From e3402f52dbe793f0ef52672bfc42362c5120a081 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 15 Mar 2021 17:17:16 -0400 Subject: [PATCH] Use some cached libraries in quay.io rather than trying to pull from docker, which is a rat jerk son of a gun, and is throttling us. --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f688c1d..d3ab8c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ### STAGE 1: Build ### -FROM node AS builder +FROM quay.io/sartography/node:latest AS builder RUN mkdir /app WORKDIR /app ADD package.json /app/ @@ -9,9 +9,9 @@ ARG build_config=prod RUN npm install && \ npm run build:$build_config - +` ### STAGE 2: Run ### -FROM nginx:alpine +FROM quay.io/sartography/nginx:alpine RUN set -x && apk add --update --no-cache bash libintl gettext curl COPY --from=builder /app/dist/* /etc/nginx/html/