This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine/git AS git | |
RUN mkdir /app | |
WORKDIR /app | |
RUN git clone https://github.com/GoogleChromeLabs/squoosh.git . | |
FROM node:14-alpine AS builder | |
WORKDIR /app | |
COPY --from=git /app/package*.json ./ | |
RUN npm install | |
COPY --from=git /app . |