feat: use alpine for Dockerfile
Reduces resultant image size to ~942MB (was 1.55GB).
This commit is contained in:
parent
967bf49db0
commit
2dd9683eb1
1 changed files with 5 additions and 1 deletions
|
|
@ -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 . .
|
||||
|
|
|
|||
Loading…
Reference in a new issue