mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
12 lines
198 B
Docker
12 lines
198 B
Docker
FROM node:lts-alpine AS build
|
|
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"]
|
|
EXPOSE 3000
|