FROM node:14-alpine

ENV NODE_ENV=production

ENV HOST 0.0.0.0

RUN mkdir -p /app

COPY . /app

WORKDIR /app

RUN npm config set registry https://registry.npmmirror.com

RUN npm install

EXPOSE 3333

CMD ["npm", "start"]
