You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For local development, it is often preferred to be able to run services (like leo) in isolation from the developer's host machine by using Docker containers.
This sample Dockerfile is doing the trick for my current development needs:
FROM node:8-slim
RUN apt-get update \
&& apt-get install -y \
screen \
vim \
groff \
less \
python-dev \
python-pip \
libssl-dev \
&& pip install --upgrade pip \
&& pip install awscli \
&& yarn global add leo-cli \
&& yarn global add mocha
&& mkdir /opt/leo-bus
VOLUME /opt/leo-bus
WORKDIR /opt/leo-bus
ENTRYPOINT /bin/bash
Originally I set up the docker image to build node6.10 but based on feedback from your team, switched to node8.
What would be ideal is to not only have this added as a Dockerfile into the nodejs sdk, but to then have official published docker images available for the community in the docker store.
The text was updated successfully, but these errors were encountered:
For local development, it is often preferred to be able to run services (like leo) in isolation from the developer's host machine by using Docker containers.
This sample Dockerfile is doing the trick for my current development needs:
Originally I set up the docker image to build node6.10 but based on feedback from your team, switched to node8.
What would be ideal is to not only have this added as a Dockerfile into the nodejs sdk, but to then have official published docker images available for the community in the docker store.
The text was updated successfully, but these errors were encountered: