Rollback WebUI (#1882)

This commit is contained in:
Sukchan Lee 2022-11-07 22:57:33 +09:00
parent 4091484215
commit 4106207150
1 changed files with 9 additions and 1 deletions

View File

@ -2,7 +2,15 @@ FROM node:19
MAINTAINER Sukchan Lee <acetcom@gmail.com>
COPY webui /usr/src/open5gs/webui
ARG PACKAGE=open5gs
ARG VERSION=2.5.5
RUN set -e; \
cd /usr/src; \
rm -rf ./$PACKAGE; \
curl -SLO "https://github.com/open5gs/$PACKAGE/archive/v$VERSION.tar.gz"; \
tar -xvf v$VERSION.tar.gz; \
mv ./$PACKAGE-$VERSION/ ./$PACKAGE;
WORKDIR /usr/src/open5gs/webui
RUN npm clean-install && \