Sousmargot/front/Dockerfile

15 lines
250 B
Docker

FROM node:lts-alpine3.18 as node-base
WORKDIR /app
ENV PATH /app/node_modules/.bin:$PATH
FROM node-base as node-prepared
RUN npm install @vue/cli@5.0.8 -g
COPY package.json .
RUN yarn install
FROM node-prepared as vue-set
CMD ["yarn", "serve"]