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.
|
|
|
FROM node:18.17.1-alpine3.17
|
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
|
|
COPY package*.json ./
|
|
|
|
COPY tsconfig.json ./
|
|
|
|
COPY .eslintrc.json ./
|
|
|
|
COPY src ./src
|
|
|
|
|
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
RUN npm run build
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 3000
|
|
|
|
|
|
|
|
CMD [ "npm", "start" ]
|