This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
universal-statuspage/Dockerfile

16 lines
548 B
Text
Raw Normal View History

2021-01-25 22:04:41 +00:00
ARG ARCH
FROM amd64/alpine:3.13.3@sha256:4266485e304a825d82c375d3584121b53c802e3540d6b520b212a9f0784d56f5 AS base-amd64
FROM arm32v7/alpine:3.13.4@sha256:59b46c319f3b66dfda96faafd0c6959e9b2f409792d0236204f270dfd0235960 AS base-arm
FROM arm64v8/alpine:3.13.4@sha256:071fa5de01a240dbef5be09d69f8fef2f89d68445d9175393773ee389b6f5935 AS base-arm64
2021-01-25 22:04:41 +00:00
FROM base-${ARCH}
RUN apk --no-cache add nodejs="12.21.0-r0"
2020-05-06 15:54:32 +00:00
COPY dist/universal-statuspage /universal-statuspage
2020-05-06 15:54:32 +00:00
WORKDIR /app
2020-05-06 17:02:54 +00:00
EXPOSE 4000
ENTRYPOINT ["node", "/universal-statuspage/server/main.js"]