-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
15 lines (12 loc) · 732 Bytes
/
Dockerfile
File metadata and controls
15 lines (12 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM dockette/alpine:3.11
ENV NODEJS_VERSION=13.1.0
RUN echo '@community http://dl-cdn.alpinelinux.org/alpine/v3.11/community' >> /etc/apk/repositories && \
echo '@v314 http://dl-cdn.alpinelinux.org/alpine/v3.14/community' >> /etc/apk/repositories && \
apk update && apk upgrade && \
# DEPENDENCIES #############################################################
apk add --update bash git ca-certificates curl openssh tzdata make direnv@v314 && \
# NODEJS ###################################################################
apk add --update nodejs-current@community npm@community && \
# CLEAN UP #################################################################
rm -rf /var/cache/apk/*
CMD ["node"]