FROM lib:latest
# set our node environment, either development or production
# defaults to production, compose overrides this to development on build and run
ARG NODE_ENV=development
ENV NODE_ENV $NODE_ENV


WORKDIR /ftw/lib/contracts
RUN rush update
RUN rush build
CMD ["yarn","run","start:dev"]