playlist-entry-validator/Dockerfile

12 lines
198 B
Docker
Raw Normal View History

FROM node:lts-alpine AS build
2024-07-22 08:52:50 +02:00
WORKDIR /app
COPY . .
RUN npm i
RUN npm run build
FROM node:lts-alpine AS runtime
WORKDIR /app
COPY --from=build /app/dist /app
CMD ["node", "./index.js"]
2024-07-22 08:52:50 +02:00
EXPOSE 3000