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