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
542 B
Docker
Raw Normal View History

2021-01-25 22:04:41 +00:00
ARG ARCH
2021-09-03 13:02:56 +00:00
FROM alpine:3.14.2@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a AS base-amd64
FROM arm32v7/alpine:3.14.2@sha256:e12ff876f0075740ed3d7bdf788107ae84c1b3dd6dc98b3baea41088aba5236f AS base-arm
FROM arm64v8/alpine:3.14.2@sha256:b06a5cf61b2956088722c4f1b9a6f71dfe95f0b1fe285d44195452b8a1627de7 AS base-arm64
2021-01-25 22:04:41 +00:00
FROM base-${ARCH}
RUN apk --no-cache add nodejs="12.22.6-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"]