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.

10 lines
236 B
Docker

FROM node:16-bullseye
RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y && apt-get clean
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN npm ci --only=production
COPY . .
EXPOSE 8080
CMD [ "npm", "run", "start" ]