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
fa526752
Commit
fa526752
authored
Dec 14, 2019
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: arm dockerfile build step
parent
8c794674
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
Dockerfile
dev/build-arm/Dockerfile
+17
-2
No files found.
dev/build-arm/Dockerfile
View file @
fa526752
# =========================
# --- BUILD NPM MODULES ---
# =========================
FROM
node:12.13-alpine AS build
RUN
apk add yarn g++ make python
--no-cache
WORKDIR
/wiki
COPY
./package.json ./package.json
RUN
yarn
--production
--frozen-lockfile
--non-interactive
--network-timeout
100000
# ===============
# --- Release ---
# ===============
FROM
node:12.13-alpine
FROM
node:12.13-alpine
LABEL
maintainer="requarks.io"
LABEL
maintainer="requarks.io"
...
@@ -9,6 +25,7 @@ RUN apk add bash curl git openssh gnupg sqlite --no-cache && \
...
@@ -9,6 +25,7 @@ RUN apk add bash curl git openssh gnupg sqlite --no-cache && \
WORKDIR
/wiki
WORKDIR
/wiki
COPY
--chown=node:node ./build/assets ./assets
COPY
--chown=node:node ./build/assets ./assets
COPY
--chown=node:node --from=build /wiki/node_modules ./node_modules
COPY
--chown=node:node ./server ./server
COPY
--chown=node:node ./server ./server
COPY
--chown=node:node ./build/server/views ./server/views
COPY
--chown=node:node ./build/server/views ./server/views
COPY
--chown=node:node ./dev/build/config.yml ./config.yml
COPY
--chown=node:node ./dev/build/config.yml ./config.yml
...
@@ -16,8 +33,6 @@ COPY --chown=node:node ./dev/docker-common/wait.sh ./wait.sh
...
@@ -16,8 +33,6 @@ COPY --chown=node:node ./dev/docker-common/wait.sh ./wait.sh
COPY
--chown=node:node ./package.json ./package.json
COPY
--chown=node:node ./package.json ./package.json
COPY
--chown=node:node ./LICENSE ./LICENSE
COPY
--chown=node:node ./LICENSE ./LICENSE
RUN
yarn
--production
--frozen-lockfile
--non-interactive
--network-timeout
100000
USER
node
USER
node
EXPOSE
3000
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