Skip to content

Instantly share code, notes, and snippets.

@wabson
Last active July 8, 2016 12:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wabson/f87b2105616322191b826ea2876bcf1d to your computer and use it in GitHub Desktop.
Save wabson/f87b2105616322191b826ea2876bcf1d to your computer and use it in GitHub Desktop.
Docker files for running Alfresco with CORS enabled
alfresco:
image: dockerreg.alfresco.com/platform-distribution:RETURN-OF-THE-API-latest
ports:
- "8080:8080"
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