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.0@sha256:d0710affa17fad5f466a70159cc458227bd25d4afb39514ef662ead3e6c99515 AS base-amd64
2021-01-25 22:04:41 +00:00
FROM arm32v7/alpine:3.12.3@sha256:299294be8699c1b323c137f972fd0aa5eaa4b95489c213091dcf46ef39b6c810 AS base-arm
FROM arm64v8/alpine:3.12.3@sha256:549694ea68340c26d1d85c00039aa11ad835be279bfd475ff4284b705f92c24e AS base-arm64
FROM base-${ARCH}
RUN apk --no-cache add nodejs="12.20.1-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"]