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