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.14.0@sha256:1775bebec23e1f3ce486989bfc9ff3c4e951690df84aa9f926497d82f2ffca9d AS base-amd64
2021-07-31 04:02:43 +00:00
FROM arm32v7/alpine:3.14.0@sha256:088557f18d845a348b4039a63c1266b09dfbe45619dc259f05742d902edd5f25 AS base-arm
FROM arm64v8/alpine:3.14.0@sha256:53b74ddfc6225e3c8cc84d7985d0f34666e4e8b0b6892a9b2ad1f7516bc21b54 AS base-arm64
2021-01-25 22:04:41 +00:00
FROM base-${ARCH}
RUN apk --no-cache add nodejs="12.22.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"]