1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/obs-web-arm/Dockerfile

16 lines
374 B
Docker
Raw Normal View History

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