diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bb756aa --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +# syntax=docker/dockerfile:1 +FROM node:16-alpine +MAINTAINER Jesse McDonald +WORKDIR /app +RUN apk add --no-cache python2 make gcc g++ musl-dev +COPY . . +RUN yarn install --production + +FROM node:16-alpine +MAINTAINER Jesse McDonald +WORKDIR /app +COPY --from=0 /app . +CMD ["node", "./server.js"]