combine.fm/Dockerfile

20 lines
231 B
Text
Raw Normal View History

2020-01-18 10:19:20 +00:00
FROM node:13.6.0-alpine3.11
2017-07-23 10:13:04 +01:00
WORKDIR /app
2020-01-18 10:19:20 +00:00
RUN apk add --update git python make g++
2017-07-23 10:13:04 +01:00
COPY package.json package.json
COPY yarn.lock yarn.lock
RUN yarn
COPY . .
RUN yarn run build
ENV PORT 3000
EXPOSE 3000
CMD ["yarn", "start"]