mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-14 11:23:02 +02:00
16 lines
374 B
Docker
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
|