Skip to content

Commit

Permalink
Upgrade linto-admin allowing to build docker
Browse files Browse the repository at this point in the history
  • Loading branch information
yhoupert committed Jan 19, 2024
1 parent ccc24d4 commit 1d9c4a8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 36 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# LinTO-Agent

## Platform
LinTO-Agent contain all tools allowing to play with LinTO
- linto-admin : central manager for a given fleet of LinTO clients
- business-logic-server : deploy and executes a linto workflow
- overwatch : handle the authentification and loging aspect of a linto fleet
- service-broker : the communication pipeline between services and subservices
- stt-service-manager : deploy speech to text service
- linto-admin : central manager for a given fleet of LinTO clients
- business-logic-server : deploy and executes a linto workflow
- overwatch : handle the authentification and loging aspect of a linto fleet
- service-broker : the communication pipeline between services and subservices
- stt-service-manager : deploy speech to text service

## Setup

LinTO Agent is meant to get deployed on a Docker Swarm cluster. Please read thouroughly the [infrastructure setup guide](https://doc.linto.ai/) and the following documentation located on `stack/docs/README.md` BEFORE you run the startup script.
27 changes: 0 additions & 27 deletions platform/business-logic-server/.dockerenv

This file was deleted.

7 changes: 5 additions & 2 deletions platform/linto-admin/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
FROM node:latest
# FROM node:latest
FROM node:20.9.0
# Gettext for envsubst being called form entrypoint script

RUN apt-get update -y && \
apt-get install gettext -y
# RUN apt-get install python3 -y

COPY ./vue_app /usr/src/app/linto-admin/vue_app
COPY ./webserver /usr/src/app/linto-admin/webserver
COPY ./docker-entrypoint.sh /
COPY ./wait-for-it.sh /

WORKDIR /usr/src/app/linto-admin/vue_app
RUN npm install && npm install -s node-sass
RUN npm install

WORKDIR /usr/src/app/linto-admin/webserver
RUN npm install
Expand Down
2 changes: 1 addition & 1 deletion platform/linto-admin/vue_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"babel-eslint": "^10.1.0",
"html-webpack-plugin": "^3.2.0",
"moment": "^2.24.0",
"node-sass": "^4.13.1",
"node-sass": "^9.0.0",
"randomstring": "^1.1.5",
"socket.io-client": "^2.3.0",
"vue": "^2.6.11",
Expand Down
2 changes: 1 addition & 1 deletion platform/linto-admin/webserver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"mongodb": "^3.1.13",
"mqtt": "^3.0.0",
"multer": "^1.4.2",
"node-sass": "^4.12.0",
"npm": "^6.10.1",
"node-sass": "^9.0.0",
"path": "^0.12.7",
"pg": "^7.5.0",
"pm2": "^2.10.4",
Expand Down

0 comments on commit 1d9c4a8

Please sign in to comment.