Skip to content

Instantly share code, notes, and snippets.

@MitinPavel
Created September 18, 2017 05:56
Show Gist options
  • Save MitinPavel/fa3f3be4feb12a62b604b692a161d9ca to your computer and use it in GitHub Desktop.
Save MitinPavel/fa3f3be4feb12a62b604b692a161d9ca to your computer and use it in GitHub Desktop.
Dockerfile for Reason.js (ReasonML)
FROM node:8-slim
ENV DEBIAN_FRONTEND noninteractive
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
ENV PATH=/home/node/.npm-global/bin:$PATH
RUN apt-get -yq update && apt-get -yq install build-essential
USER node
RUN npm install -g bs-platform
RUN mkdir /home/node/app
WORKDIR /home/node/app
COPY . /home/node/app
RUN /bin/sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment