1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/obs-web-arm/Dockerfile

16 lines
374 B
Docker
Raw Normal View History

2021-10-25 10:42:41 +02:00
#
# 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