Merge pull request #222 from kpcyrd/docker-fix

Fix docker build
pull/1/head
ansuz 7 years ago committed by GitHub
commit 89ab37f1bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,7 @@
data data
Dockerfile Dockerfile
docker-compose.yml docker-compose.yml
.dockerignore
.git .git
.gitignore .gitignore
node_modules

@ -9,3 +9,4 @@ node_js:
script: script:
- npm run-script lint - npm run-script lint
- npm run-script flow - npm run-script flow
- docker build -t xwiki/cryptpad .

@ -4,7 +4,7 @@ COPY . /cryptpad
WORKDIR /cryptpad WORKDIR /cryptpad
RUN apk add --no-cache git tini \ RUN apk add --no-cache git tini \
&& npm install \ && npm install --production \
&& npm install -g bower \ && npm install -g bower \
&& bower install --allow-root && bower install --allow-root

Loading…
Cancel
Save