Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
1e623fcd
Commit
1e623fcd
authored
Nov 03, 2018
by
Nicolas Giard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: multi-stage dockerfile
parent
87840558
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
Dockerfile
dev/build/Dockerfile
+8
-6
No files found.
dev/build/Dockerfile
View file @
1e623fcd
...
...
@@ -10,8 +10,9 @@ RUN apk update && \
WORKDIR
/var/wiki
COPY
./package.json /var/wiki/package.json
COPY
./client /var/wiki/client
COPY
./package.json ./package.json
COPY
./dev ./dev
COPY
./client ./client
RUN
yarn
RUN
yarn build
...
...
@@ -34,10 +35,11 @@ WORKDIR /var/wiki
COPY
./dev/build/supervisord.conf /etc/supervisord.conf
COPY
--from=assets /var/wiki/assets ./assets
COPY
--from=assets /var/wiki/node_modules ./node_modules
COPY
./server /var/wiki/server
COPY
./config.sample.yml /var/wiki/config.yml
COPY
./package.json /var/wiki/package.json
COPY
./LICENSE /var/wiki/LICENSE
COPY
--from=assets /var/wiki/server ./server
COPY
./server ./server
COPY
./config.sample.yml ./config.yml
COPY
./package.json ./package.json
COPY
./LICENSE ./LICENSE
EXPOSE
3000
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment