feat: use alpine for Dockerfile

Reduces resultant image size to ~942MB (was 1.55GB).
This commit is contained in:
Colin Nelson
2019-11-19 10:52:12 -08:00
parent 967bf49db0
commit 2dd9683eb1

View File

@@ -1,7 +1,11 @@
FROM node:12.10.0-buster
FROM node:12.10.0-alpine
LABEL maintainer="Liyas Thomas (liyascthomas@gmail.com)"
# Add git as the prebuild target requires it to parse version information
RUN apk add --update --no-cache \
git
WORKDIR /app
COPY . .