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-08-13 04:05:05 +00:00
FROM alpine:3.14.1@sha256:eb3e4e175ba6d212ba1d6e04fc0782916c08e1c9d7b45892e9796141b1d379ae AS base-amd64
2021-08-12 19:02:04 +00:00
FROM arm32v7/alpine:3.14.1@sha256:fb9ac82b4cc94c5a6c416a1c656b3ee84df9290ab4106c260eb959997e759e5e AS base-arm
FROM arm64v8/alpine:3.14.1@sha256:bd9137c3bb45dbc40cde0f0e19a8b9064c2bc485466221f5e95eb72b0d0cf82e AS base-arm64
2021-01-25 22:04:41 +00:00
FROM base-${ARCH}
RUN apk --no-cache add nodejs="12.22.4-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"]