Skip to content

Instantly share code, notes, and snippets.

@sandalsoft
Created December 24, 2018 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sandalsoft/f55d40cca80b5cf89492fddeef1aa69a to your computer and use it in GitHub Desktop.
Save sandalsoft/f55d40cca80b5cf89492fddeef1aa69a to your computer and use it in GitHub Desktop.
FROM mhart/alpine-node:8
ENV APPDIR=/app
RUN mkdir $APPDIR
RUN npm install --global tsc typescript
ENV HOME=$APPDIR
COPY package.json $APPDIR
COPY jest.config.js $APPDIR
COPY license.txt $APPDIR
COPY .gitignore $APPDIR
COPY tsconfig.json $APPDIR
WORKDIR $APPDIR
RUN npm install
CMD ["cat"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment