Création DockerFile

Gestion des variables d'environnement
develop
Jimmy Pellier 5 years ago
parent 085c544587
commit 045d1a54a3
  1. 4
      .env.development
  2. 9
      .env.production
  3. 4
      DockerFile
  4. 1
      obj/Docker/CanonicalServiceNames.cache
  5. 2
      src/components/User/ListeUser.vue

@ -1,7 +1,7 @@
VUE_APP_BACK_URL=http://localhost:5000
VUE_APP_BACK_URL=http://localhost/covid
VUE_APP_BACK_USER=http://localhost/user
VUE_APP_IMAGE_STORE=http://localhost/apache/public/uploads/
VUE_APP_TEMPERATURE_HUB=http://localhost:5000/batchExecutionHub
VUE_APP_TEMPERATURE_HUB=http://localhost/covid/batchExecutionHub
VUE_APP_TIMEOUT_TEMPERATURE_HUB=5000
VUE_APP_MSG_TEMPERATURE_HUB=temperature
VUE_APP_EMIT_MSG_TEMPERATURE=received-temperature

@ -1 +1,8 @@
VUE_APP_BACK_URL=http://localhost:5000
VUE_APP_BACK_URL=http://localhost/covid
VUE_APP_BACK_USER=http://localhost/user
VUE_APP_IMAGE_STORE=http://localhost/apache/public/uploads/
VUE_APP_TEMPERATURE_HUB=http://localhost/covid/batchExecutionHub
VUE_APP_TIMEOUT_TEMPERATURE_HUB=5000
VUE_APP_MSG_TEMPERATURE_HUB=temperature
VUE_APP_EMIT_MSG_TEMPERATURE=received-temperature
VUE_APP_MAX_CHART=30

@ -1,9 +1,9 @@
# étape de build
FROM node:lts-alpine as build-stage
WORKDIR /app
COPY TempCheckerFront/package*.json ./
COPY package*.json ./
RUN npm install
COPY TempCheckerFront/. .
COPY . .
RUN npm run build
# étape de production

@ -39,7 +39,7 @@
</b-row>
<b-row v-if="isLoaded && users.length > 0" >
<b-col cols="12" md="4" lg="3" v-for="user in users" v-bind:key="user.id"
<b-col cols="12" md="4" lg="4" v-for="user in users" v-bind:key="user.id"
style="padding-right: 5px; padding-left: 5px; padding-top: 5px; padding-bottom: 5px">
<div>
<card-user :user="user" @send-message="handleSendMessage"/>

Loading…
Cancel
Save