Remove custom buildpack, use heroku-postbuild instead
This commit is contained in:
parent
ef92dcb38c
commit
81cc19f5b5
3 changed files with 5 additions and 24 deletions
21
Dockerfile
21
Dockerfile
|
@ -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"]
|
Loading…
Add table
Add a link
Reference in a new issue