Skip to content

Commit

Permalink
Merge pull request #150 from Open-MBEE/develop
Browse files Browse the repository at this point in the history
4.0.0-RC1
  • Loading branch information
dlamoris authored May 16, 2022
2 parents 1acf5f6 + 5c9c167 commit c978d46
Show file tree
Hide file tree
Showing 147 changed files with 13,083 additions and 5,020 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
################################################################################
# Dockerfile
#
# Josh Kaplan
# joshua.d.kaplan@lmco.com
# Enquier
# openmbee@gmail.com
#
# This is the Dockerfile for View Editor (VE).
# To build the container, run the following command: `docker build -t ve .`
Expand All @@ -11,7 +11,9 @@
################################################################################
FROM node:8

MAINTAINER Josh Kaplan <joshua.d.kaplan@lmco.com>
ENV VE_ENV 'example'
VE_PORT 9000
VE_PROTOCOL 'http'

WORKDIR /opt/mbee/ve
COPY . /opt/mbee/ve
Expand Down Expand Up @@ -54,8 +56,8 @@ RUN node ./node_modules/node-sass/scripts/install.js
RUN npm rebuild node-sass

# Expose ports
EXPOSE 9000
EXPOSE ${VE_PORT}

# When the container runs, we run grunt. The second argument should reference a
# server defined in the angular-mms-grunt-servers.json file.
CMD ["grunt", "server:dev"]
CMD ["sh", "-c", "grunt release:docker --env=${VE_ENV} --port=${VE_PORT} --protocol=${VE_PROTOCOL}"]
Binary file added Documents/ViewEditorUserGuide-OpenMBEE.pdf
Binary file not shown.
Loading

0 comments on commit c978d46

Please sign in to comment.