diff --git a/dockerfile b/dockerfile index cf7dd5013..c51f3984b 100644 --- a/dockerfile +++ b/dockerfile @@ -1,10 +1,10 @@ -FROM node:14 - +FROM node:16.4.2-alpine3.14 +# WORKDIR /app COPY . . -RUN npm install -RUN npm run build - +RUN yarn +RUN yarn build +# EXPOSE 3001 VOLUME ["/app/data"] CMD ["npm", "run", "start-server"]