Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
a5970f60
Commit
a5970f60
authored
6 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: fix webpack not found
parent
86f3c112
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
package.json
+0
-1
0 additions, 1 deletion
package.json
with
2 additions
and
3 deletions
Dockerfile
+
2
−
2
View file @
a5970f60
...
...
@@ -7,11 +7,10 @@ COPY . /iv
WORKDIR
/iv
ENV
VERSION=devNext
ENV
NODE_ENV=production
ENV
DOCKER_BUILD=true
RUN
npm i
RUN
npm run
docker-
build-aot
RUN
npm run build-aot
# prod container
...
...
@@ -19,6 +18,7 @@ FROM node:8-alpine
ARG
PORT
ENV
PORT=$PORT
ENV
NODE_ENV=production
RUN
apk
--no-cache
add ca-certificates
RUN
mkdir
/iv-app
...
...
This diff is collapsed.
Click to expand it.
package.json
+
0
−
1
View file @
a5970f60
...
...
@@ -14,7 +14,6 @@
"plugin-server"
:
"node ./src/plugin_examples/server.js"
,
"dev-server"
:
"webpack-dev-server --config webpack.dev.js --mode development"
,
"dev-server-aot"
:
"PRODUCTION=true GIT_HASH=`git log --pretty=format:'%h' --invert-grep --grep=^.ignore -1` webpack-dev-server --config webpack.aot.js"
,
"docker-build-aot"
:
"PRODUCTION=true ./node_modules/.bin/webpack --config webpack.aot.js"
,
"dev-server-all-interfaces"
:
"webpack-dev-server --config webpack.dev.js --mode development --hot --host 0.0.0.0"
,
"serve-plugins"
:
"node src/plugin_examples/server.js"
,
"test"
:
"karma start spec/karma.conf.js"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment