Feat(front): add docker for front

This commit is contained in:
2023-06-07 07:08:17 +02:00
parent ab9baa992f
commit 12a0ef71d0
2 changed files with 21 additions and 0 deletions

14
front/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
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"]