FROM node:16-alpine WORKDIR /opt/work/hro/frontend/hro COPY package*.json ./ COPY . ./server RUN apk add --no-cache git RUN npm config set registry https://registry.npmmirror.com RUN npm install EXPOSE 3000 ENV NODE_ENV=production CMD ["node","server/app.js"]