You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
246 B
Docker

FROM node:alpine
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
COPY package*.json ./
RUN npm install -g npm@8.19.2 && npm config rm proxy && npm config rm https-proxy
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
CMD npm run start