Sousmargot/front/Dockerfile

16 lines
267 B
Docker
Raw Permalink Normal View History

2023-06-07 05:08:17 +00:00
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 .
2023-06-08 13:10:03 +00:00
COPY yarn.lock .
2023-06-07 05:08:17 +00:00
RUN yarn install
FROM node-prepared as vue-set
CMD ["yarn", "serve"]