Skip to content

Instantly share code, notes, and snippets.

@devdemi
Created September 8, 2017 10:26
Show Gist options
  • Save devdemi/5afd473004bf475bc4416fc8fde08758 to your computer and use it in GitHub Desktop.
Save devdemi/5afd473004bf475bc4416fc8fde08758 to your computer and use it in GitHub Desktop.
FROM fe-image
# Create app directory
RUN mkdir -p /usr/src/fastboot
WORKDIR /usr/src/fastboot
RUN cd /usr/src/fe && ember build
RUN cp -rs /usr/src/fe/dist /usr/src/fastboot/dist
RUN cd /usr/src/fastboot/dist
RUN yarn install --force
COPY package.json /usr/src/fastboot
RUN yarn install --force
# Bundle app source
COPY . /usr/src/fastboot
EXPOSE 4200
CMD ["npm", "start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment