forked from acouzens/open5gs
Build webui from local source
Use local copy of source code to build webui, instead of downloading the code from Github.
This commit is contained in:
parent
ddf09f270a
commit
4091484215
|
@ -2,15 +2,7 @@ FROM node:19
|
||||||
|
|
||||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||||
|
|
||||||
ARG PACKAGE=open5gs
|
COPY webui /usr/src/open5gs/webui
|
||||||
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
|
WORKDIR /usr/src/open5gs/webui
|
||||||
RUN npm clean-install && \
|
RUN npm clean-install && \
|
||||||
|
|
Loading…
Reference in New Issue