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

19 lines
255 B

FROM node:18.17.1-alpine3.17
RUN mkdir -p /usr/src/app/data
WORKDIR /usr/src/app
RUN apk add bash
COPY package*.json ./
COPY tsconfig.json ./
COPY .eslintrc.json ./
COPY src ./src
RUN npm install
RUN npm run build
EXPOSE 3000
CMD [ "npm", "start" ]