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.
This commit is contained in:
parent
b59ab2f9b5
commit
e3402f52db
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue