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.
14 lines
220 B
14 lines
220 B
FROM node:alpine AS build
|
|
WORKDIR /
|
|
COPY . .
|
|
RUN npm ci && npm run build
|
|
|
|
FROM node:alpine
|
|
WORKDIR /app
|
|
COPY --from=build /dist .
|
|
ENTRYPOINT node /app/index.js
|
|
|
|
COPY package* ./
|
|
RUN npm ci --only=production
|
|
|
|
EXPOSE 3000
|
|
|