-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
16 lines (13 loc) · 661 Bytes
/
Dockerfile
File metadata and controls
16 lines (13 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM dockette/alpine:3.15
RUN echo '@community http://nl.alpinelinux.org/alpine/v3.15/community' >> /etc/apk/repositories && \
apk update && apk upgrade && \
# DEPENDENCIES #############################################################
apk add --update git && \
# NODEJS ###################################################################
apk add --update nodejs-current@community npm@community && \
# NODEJS ###################################################################
npm i -g vercel && \
# CLEAN UP #################################################################
rm -rf /var/cache/apk/*
WORKDIR /srv
CMD nodejs