1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/obs-web-arm/Dockerfile
2021-10-25 16:42:41 +08:00

16 lines
374 B
Docker

#
# Dockerfile for obs-web-arm
#
FROM alpine:3 AS build
WORKDIR /app
RUN set -xe \
&& apk add --no-cache curl node npm tar \
&& curl -sSL https://github.com/Niek/obs-web/archive/refs/heads/master.tar.gz | tar xz --strip 1 \
&& npm install \
&& npm run build
FROM nginx:alpine
MAINTAINER EasyPi Software Foundation
COPY --from build /app/public/* /usr/share/nginx/html