mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
Docker for MongoDB and WebUI recommended by Issue (#16)
This commit is contained in:
parent
f915820f3a
commit
2d72eaa24d
2 changed files with 41 additions and 0 deletions
20
support/docker/webui/Dockerfile
Normal file
20
support/docker/webui/Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
FROM node:carbon
|
||||
|
||||
ENV PACKAGE nextepc
|
||||
ENV VERSION 0.3.3
|
||||
|
||||
RUN apt-get -y install curl
|
||||
RUN set -e; \
|
||||
cd /usr/src; \
|
||||
rm -rf ./$PACKAGE; \
|
||||
curl -SLO "https://github.com/acetcom/$PACKAGE/archive/v$VERSION.tar.gz"; \
|
||||
tar -xvf v$VERSION.tar.gz; \
|
||||
mv ./$PACKAGE-$VERSION/ ./$PACKAGE;
|
||||
|
||||
WORKDIR /usr/src/nextepc/webui
|
||||
RUN npm install && \
|
||||
npm run build
|
||||
|
||||
CMD npm run start
|
||||
|
||||
EXPOSE 3000
|
||||
Loading…
Add table
Add a link
Reference in a new issue