-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 741 Bytes
/
Dockerfile
File metadata and controls
30 lines (22 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM docker:20.10.17
COPY --from=docker/buildx-bin:v0.9 /buildx /usr/libexec/docker/cli-plugins/docker-buildx
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# The MID Server image can be found here:
# https://github.com/bmoers/docker-mid-server/blob/master/docker/Dockerfile
#
# This Dockerfile is only to refresh the MID docker images
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
RUN apk add --update nodejs \
npm \
openrc \
bash && \
rm -rf /var/cache/apk/*
RUN mkdir /opt/node
WORKDIR /opt/node
COPY docker/ ./docker
COPY package*.json ./
RUN npm install --no-optional && npm cache clean --force
COPY ./app.js .
CMD node app.js