1
0

Merge pull request #278 from terrywbrady/docker

[DS-3968] move dockerfile into codebase
This commit is contained in:
Art Lowel
2018-08-02 16:30:40 +02:00
committed by GitHub
2 changed files with 31 additions and 0 deletions

21
.dockerignore Normal file
View File

@@ -0,0 +1,21 @@
.git
node-modules
__build__
__server_build__
typings
tsd_typings
npm-debug.log
dist
coverage
.idea
*.iml
*.ngfactory.ts
*.css.shim.ts
*.scss.shim.ts
.DS_Store
webpack.records.json
npm-debug.log.*
morgan.log
yarn-error.log
*.css
package-lock.json

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
# This image will be published as dspace/dspace-angular
# See https://dspace-labs.github.io/DSpace-Docker-Images/ for usage details
FROM node:8-alpine
WORKDIR /app
ADD . /app/
EXPOSE 3000
RUN yarn install
CMD yarn run watch