Last active
July 8, 2016 12:01
-
-
Save wabson/f87b2105616322191b826ea2876bcf1d to your computer and use it in GitHub Desktop.
Docker files for running Alfresco with CORS enabled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alfresco: | |
image: dockerreg.alfresco.com/platform-distribution:RETURN-OF-THE-API-latest | |
ports: | |
- "8080:8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment