Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpub-faraday
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
xpub
xpub-faraday
Commits
301486ff
Commit
301486ff
authored
7 years ago
by
Sam Galson
Browse files
Options
Downloads
Patches
Plain Diff
remove offline-mirror after use
parent
7b355664
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+6
-2
6 additions, 2 deletions
Dockerfile
with
6 additions
and
2 deletions
Dockerfile
+
6
−
2
View file @
301486ff
...
...
@@ -5,15 +5,20 @@ COPY lerna.json .eslintignore .eslintrc .prettierrc .stylelintignore .stylelintr
COPY
packages packages
RUN
[
"yarn"
,
"config"
,
"set"
,
"workspaces-experimental"
,
"true"
]
# We do a development install because react-styleguidist is a dev dependency
RUN
[
"yarn"
,
"install"
,
"--frozen-lockfile"
]
RUN
[
"npm"
,
"rebuild"
,
"bcrypt"
,
"--build-from-source=bcrypt"
]
# Remove cache and offline mirror
RUN
[
"yarn"
,
"cache"
,
"clean"
]
RUN
[
"rm"
,
"-rf"
,
"/npm-packages-offline-cache"
]
ENV
NODE_ENV "production"
# We are temporarily going to use the same image with different commands to deploy different apps in the monorepo. This is bad :(.
WORKDIR
${HOME}/packages/xpub-collabra
# TODO pass in username and password as build arguments
RUN
[
"npx"
,
"pubsweet"
,
"build"
]
## No xpub-ui to deploy yet
...
...
@@ -22,7 +27,6 @@ RUN [ "npx", "pubsweet", "build"]
## Create file for kubernetes health checks
# RUN touch ./styleguide/health
EXPOSE
3000
WORKDIR
${HOME}
...
...
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