diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4c01315 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:15-alpine as run + +COPY package.json . +RUN yarn --prod + +ENV NODE_ENV production +EXPOSE 3000 + +WORKDIR /app + +COPY migrations ./migrations +COPY src/server.js ./ +COPY knexfile.js ./ + +CMD ["node", "./server.js"] \ No newline at end of file