Remove custom buildpack, use heroku-postbuild instead

This commit is contained in:
Jonathan Cremin 2016-05-06 11:35:41 +01:00
parent ef92dcb38c
commit 81cc19f5b5
3 changed files with 5 additions and 24 deletions

View file

@ -1,21 +0,0 @@
FROM mhart/alpine-node
MAINTAINER Jonathan Cremin <jonathan@crem.in>
WORKDIR /app
RUN apk add --update make gcc g++ python git
COPY package.json package.json
RUN npm install
RUN apk del make gcc g++ python git && \
rm -rf /tmp/* /var/cache/apk/* /root/.npm /root/.node-gyp
COPY . .
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]