-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (26 loc) · 712 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM node:latest as build-stage
WORKDIR /SpruTT
COPY package*.json ./
RUN npm install vue
RUN npm install vuex
RUN npm install vuex-persistedstate
RUN npm install axios
RUN npm install vue-router
RUN npm install bootstrap
RUN npm install bootstrap-vue
RUN npm install select2
RUN npm install -save vue-xlsx
RUN npm install vue-excel-xlsx
RUN npm install @handsontable/vue
RUN npm install vue-select
RUN npm install @amcharts/amcharts5
RUN npm install @amcharts/amcharts4
RUN npm i --save logrocket
RUN npm i --save logrocket-vuex
# RUN npm i vuedraggable
COPY ./ .
RUN npm run build
FROM nginx as production-stage
RUN mkdir /appS
COPY --from=build-stage /SpruTT/dist /appS
COPY nginx.conf /etc/nginx/nginx.conf