mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Add Dockerfile for building clean version of demo-shell
This commit is contained in:
20
demo-shell-ng2/Dockerfile
Normal file
20
demo-shell-ng2/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
FROM node:5
|
||||||
|
|
||||||
|
# Create src directory
|
||||||
|
RUN mkdir -p /usr/src
|
||||||
|
WORKDIR /usr/src
|
||||||
|
|
||||||
|
# Copy source and install app dependencies
|
||||||
|
COPY app /usr/src/app/
|
||||||
|
COPY assets /usr/src/assets/
|
||||||
|
COPY i18n /usr/src/i18n/
|
||||||
|
COPY app /usr/src/app/
|
||||||
|
COPY package.json index.html systemjs.config.js *.json LICENSE README.md /usr/src/
|
||||||
|
|
||||||
|
RUN npm install material-design-lite material-design-icons
|
||||||
|
RUN npm set registry http://devproducts.alfresco.me:4873/
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
CMD [ "npm", "start" ]
|
Reference in New Issue
Block a user