Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release #161

Open
wants to merge 210 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
f81364b
Fix member right when uploading a media
tjiho Apr 24, 2024
1ef8533
Feature: subtitle text edition (#111)
tjiho May 2, 2024
8ea6a22
Search in transcription + new speaker menu (#131)
tjiho May 16, 2024
e9944ee
Get export tab name from service description (#133)
tjiho May 31, 2024
1d6d5c4
Update docx.js
Houpert May 31, 2024
73c7e6a
Allow to use any format from api gateway
Houpert May 31, 2024
3a77beb
Feature theming (#132)
tjiho Jun 4, 2024
b7cd68e
Update api error handling
Houpert Jun 14, 2024
0c7cf25
Css fixes
tjiho Jun 18, 2024
d7bec7d
Fix maximum number of speaker (#135)
Jeronymous Jun 27, 2024
885abe6
Feature session (#137)
tjiho Jul 16, 2024
cbce186
Feature start menu (#136)
tjiho Jul 16, 2024
b9f719b
Fix default title name in navbar
tjiho Jul 17, 2024
d676800
Update node module with vulnerabilities
Houpert Jul 17, 2024
42b1cac
Merge pull request #138 from linto-ai/fix-update-node-module
Houpert Jul 17, 2024
757b8a6
Upload media front external url (#139)
tjiho Jul 17, 2024
3eb7c33
Refactoring (#140)
tjiho Jul 17, 2024
f90e425
Improve start button
tjiho Jul 18, 2024
cc51a28
Update node version from Docker
Houpert Jul 18, 2024
15313cd
Feature subtitle scrolling (#141)
tjiho Jul 23, 2024
fdb940d
Fix files button in upload form
tjiho Jul 24, 2024
073cf3c
Fetch job_log on job error
Houpert Jul 24, 2024
cb49121
Fix turns edition
tjiho Aug 19, 2024
439d425
Merge branch 'next' of github.com:linto-ai/platform-conversation-mana…
tjiho Aug 19, 2024
9e9d2b7
New front-end theme architecture
tjiho Aug 20, 2024
a0fbceb
Update docker default user to non-root user
Houpert Aug 27, 2024
48878ab
Merge pull request #142 from linto-ai/feature-docker-privilege-adjust…
Houpert Aug 28, 2024
9b30845
Added a proxy loader for session API
Houpert Jul 24, 2024
2631a5f
Fix docker volume access
Houpert Aug 29, 2024
2c1cac1
Use default docker node user
Houpert Aug 30, 2024
89df9cf
Merge branch 'next' into feature-docker-privilege-adjustment
Houpert Aug 30, 2024
1e66e81
Merge pull request #143 from linto-ai/feature-docker-privilege-adjust…
Houpert Aug 30, 2024
66f30ce
Delete debug code used for testing
Houpert Aug 30, 2024
0c10aa7
Renamed debug for improved readability
Houpert Aug 30, 2024
3c4fdbf
Feature: Add proxy to session api and add session translations
tjiho Sep 6, 2024
7ef12db
Feature backoffice (#145)
tjiho Sep 24, 2024
397e95a
Update docker-entrypoint.sh
Houpert Sep 25, 2024
35e4814
Removing prefix _mongo from env variable
Houpert Sep 25, 2024
2224cdf
Removing prefix _mongo from env variable
Houpert Sep 25, 2024
2e556b9
Get translation langs from transcriber config
tjiho Sep 25, 2024
8e072cb
Fix session translation selection when no translation available
tjiho Sep 25, 2024
acbe935
Add diarization option for sessions
tjiho Sep 25, 2024
ca442b5
improve diarization view in session setting
tjiho Sep 27, 2024
4d659ba
Theme - elysee black (#146)
tjiho Sep 30, 2024
2731eb2
Fix srt generation
Houpert Sep 30, 2024
cf7b894
Fix llm generating process
Houpert Sep 30, 2024
1a6b152
Subtitle editor: improve verification when uploading video
tjiho Oct 1, 2024
f41480d
Add footer to login page
tjiho Oct 1, 2024
8d37e86
Add internationalization to login footer and set it optional
tjiho Oct 1, 2024
3937d2b
Add schedule selector to session
tjiho Oct 4, 2024
3961cc7
Update Jenkins to push public image
Houpert Oct 7, 2024
b5d55f4
updated file to force rebuild to public image
Houpert Oct 7, 2024
f4c180c
Fix Jenkinsfile image name
Houpert Oct 7, 2024
ff97b24
Feature session timeline (#147)
tjiho Oct 11, 2024
9c60a11
Refactore themes
tjiho Oct 11, 2024
8800e0a
Fix subtitle editor when deleting last screen
tjiho Oct 14, 2024
64442de
Fix copy of channels endpoints
tjiho Oct 14, 2024
72c5958
Update transcriber api
Houpert Oct 17, 2024
8f8004e
Fix: use new channel id key instead of channel index
tjiho Oct 17, 2024
dc10ae0
Rename url tab in start menu
tjiho Oct 18, 2024
354157a
Fix css tabs
tjiho Oct 18, 2024
d4d2d0a
Feature: Session edition with datetime, and status display improvement
tjiho Oct 21, 2024
4a4e039
Update session documentation to take organizationId in path param
Houpert Oct 21, 2024
9af0509
Fix swagger api
Houpert Oct 22, 2024
7c4da23
Use new field visibility for sessions in front-end
tjiho Oct 22, 2024
590a601
Set session visibility non public as "organization" instead of "private"
tjiho Oct 22, 2024
0216508
Added session-bot handling for proxy
Houpert Oct 22, 2024
435a388
Fix proxy when query param
Houpert Oct 24, 2024
5539176
Improve session settings page
tjiho Oct 24, 2024
d0331e5
Fix speaker swap when changing page in editor
tjiho Oct 25, 2024
9128a95
Improve session status
tjiho Oct 28, 2024
1806f8c
Feature: session status from websocket (#149)
tjiho Nov 4, 2024
d70bb52
Fix request when session api not running
Houpert Nov 5, 2024
73b72e6
Handle system operator to update orga permission
Houpert Nov 5, 2024
c0045a3
Handle organiza permission on specified route
Houpert Nov 7, 2024
5d3eda8
Update README regarding role
Houpert Nov 8, 2024
0874027
Fix doc error
Houpert Nov 8, 2024
9c2b847
Merge pull request #151 from linto-ai/feature-organization-services-a…
Houpert Nov 8, 2024
9392f49
Fix undefined variable
Houpert Nov 12, 2024
857f0e8
Add quick meeting with pc microphone (#150)
tjiho Nov 12, 2024
cda1a29
Add options to live quick meeting
tjiho Nov 12, 2024
8ef67a3
Add translation for quick meetings
tjiho Nov 12, 2024
7639522
Add diarization to quick meeting
tjiho Nov 12, 2024
4b87be3
Improve session settings page
tjiho Nov 13, 2024
b4eeb27
Fix user settings if user does not have any notifications setup
tjiho Nov 13, 2024
c0cfef2
Disable WS connection if sessions are not enabled
tjiho Nov 13, 2024
1486fcc
Added a default sortCriteria on aggregate
Houpert Nov 14, 2024
0e9886c
Fix default orga permission on user creation
Houpert Nov 15, 2024
e6b62bf
Re-add right selection when uploading media, and select first service…
tjiho Nov 15, 2024
278810b
Add visibility field when creating session
tjiho Nov 15, 2024
8cd1bc9
Fix session settings save
tjiho Nov 15, 2024
71edaf2
Refactoring: quick session and record from microphone
tjiho Nov 15, 2024
0d6b9ec
Support for multi languages model in media creation page
tjiho Nov 18, 2024
ecc140d
Improve translation selection by displaying language name and sort by…
tjiho Nov 19, 2024
4222131
Fix translation in english
tjiho Nov 19, 2024
53aa6f2
Services lang display use native api
tjiho Nov 19, 2024
e30a2eb
Feature backoffice permission and quick meeting role (#153)
tjiho Nov 20, 2024
e4b84f7
Add lang selection for whisper services
tjiho Nov 21, 2024
b54feba
Disable number conversion for whisper model
tjiho Nov 22, 2024
322d254
Lower refresh time for pulling LLM result
tjiho Nov 22, 2024
f124946
Disable whisper lang selector in front until api support
tjiho Nov 22, 2024
ffbc60d
Display only channel turns needed when diarization and transcription …
tjiho Nov 22, 2024
8b3eeb0
Improve organization invitation mail
tjiho Nov 22, 2024
2668e44
Improve session week list css
tjiho Nov 25, 2024
35a11ae
Fix quick session scroll and micro selection
tjiho Nov 25, 2024
46807a2
Fix docx empty text and multi-langue
Houpert Nov 26, 2024
d11e8cb
Fix: microphone record was not stop when ending quick session
tjiho Nov 26, 2024
3dd08e4
update export template from eu summary
Houpert Nov 26, 2024
e164301
Send title to api for publish doc
tjiho Nov 26, 2024
25dbd78
Add restore page for quick session
tjiho Nov 27, 2024
212e062
Force deletion quick session
tjiho Nov 28, 2024
c000be6
Disconnect session WS after 5 KO received
tjiho Nov 28, 2024
823b181
Feature: "organization_initiator" role (#154)
tjiho Dec 2, 2024
dc21e99
New frontend login page
tjiho Dec 4, 2024
b000984
Improve autoscroll detection
tjiho Dec 4, 2024
1714b64
Don't check endtime for startedSession
tjiho Dec 5, 2024
816812f
Merge branch 'next' of github.com:linto-ai/platform-conversation-mana…
tjiho Dec 5, 2024
f5d9190
Improve translation display on channel list during session creation
tjiho Dec 5, 2024
b94bbeb
added oidc first stem
Houpert Dec 5, 2024
479d674
update envdefault
Houpert Dec 5, 2024
7d0e6e8
fix undefine when session have no name
Houpert Dec 6, 2024
3fb4c83
Update to match session api + add basic frontend for visio bot
tjiho Dec 9, 2024
9d05aff
Add force delete for running session in front
tjiho Dec 9, 2024
eac3308
Add statistic to backoffice organization detail
tjiho Dec 10, 2024
05dfeeb
Fix quick session save
tjiho Dec 10, 2024
9e1fe07
Add keepAudio checkbox in session creation
tjiho Dec 10, 2024
c72bf95
OIDC first poc
Houpert Dec 16, 2024
12c6bf0
Fix user creation processus
Houpert Dec 16, 2024
35d57f3
Fix migration i user have already max role
Houpert Dec 16, 2024
7e7cb66
Improve session subtitle
tjiho Dec 17, 2024
998b8b1
Add turn copy and selection to session transcription
tjiho Dec 17, 2024
9cfcbf7
Refactoring of the sso login
Houpert Dec 18, 2024
0ecbdc5
Added matchinMail user auto add
Houpert Dec 18, 2024
c7f7252
Add some keyboard event when copying session turns
tjiho Dec 18, 2024
879270b
Handle user add to matching organization
Houpert Dec 18, 2024
8f26b78
Added auth oidc documentation
Houpert Dec 18, 2024
d9541ff
Add video accept type in front when uploading media
tjiho Dec 18, 2024
fb5ce66
Send llm route to api instead of llm name when generating document
tjiho Dec 19, 2024
cb4979c
fix front
tjiho Dec 19, 2024
7885f56
Add oidc connection to front
tjiho Dec 19, 2024
3679253
Migrate llm pulling to websocket
Houpert Dec 19, 2024
3f80dd6
Refresh only with progess value
Houpert Dec 19, 2024
5c91d42
Fix route llm parameters in front
tjiho Dec 19, 2024
a564b87
Merge branch 'feature-llm-websocket' of github.com:linto-ai/platform-…
tjiho Dec 19, 2024
59f1054
Fix error generating from ws
Houpert Dec 20, 2024
c4982e6
fix oidc login in front
tjiho Dec 20, 2024
72f5e9c
Add translations on login page
tjiho Jan 2, 2025
dd77ad1
Added an api to apply the matching mail
Houpert Jan 2, 2025
1effd39
Add matching email field to orga admin
tjiho Jan 2, 2025
4352815
Fix french translation when removing user from orga
tjiho Jan 2, 2025
f5e5949
Refactor front polling
tjiho Jan 3, 2025
c9ae60b
Improve front
tjiho Jan 3, 2025
f3624fc
Updated llm websocket connection process
Houpert Jan 3, 2025
e146108
Fix ws connection if not needed
Houpert Jan 3, 2025
6f0e72e
Add long polling to front
tjiho Jan 3, 2025
90eb064
Fix list when no conversation generated
Houpert Jan 3, 2025
3110b49
Stop polling when changing tab
tjiho Jan 3, 2025
ed2f842
Merge branch 'feature-llm-websocket' of github.com:linto-ai/platform-…
tjiho Jan 3, 2025
b4c33ed
Remove event listener
Houpert Jan 3, 2025
94da0b2
Revert to normal polling
tjiho Jan 6, 2025
9761a1c
Merge branch 'feature-llm-websocket' of github.com:linto-ai/platform-…
tjiho Jan 6, 2025
2dd50ba
revert long polling
Houpert Jan 6, 2025
39a9d04
Fix if changing tab when fetching blob pdf
tjiho Jan 6, 2025
ee5a1eb
Fix websocket active jobs on post
Houpert Jan 6, 2025
46a6934
Reworking llm ws connection
Houpert Jan 7, 2025
a112525
Remove log and fix when destroy
tjiho Jan 7, 2025
c951ef8
Add user creation to backoffice
tjiho Jan 7, 2025
48a67c0
Update logo on resetpassword page
tjiho Jan 8, 2025
d56a2fe
Merge branch 'next' of github.com:linto-ai/platform-conversation-mana…
tjiho Jan 8, 2025
51f39fa
Fix parsing of mailer configuration
Houpert Jan 8, 2025
819e26c
Fix: reset user selection in backoffice after deletion
tjiho Jan 8, 2025
b3546a0
Fix administrator user deletion
Houpert Jan 8, 2025
c3aa332
Merge branch 'next' of github.com:linto-ai/platform-conversation-mana…
tjiho Jan 9, 2025
314d0c7
Merge pull request #159 from linto-ai/feature-sso-integration
Houpert Jan 9, 2025
5e9313d
Disable user email update when created by the sso
Houpert Jan 9, 2025
97ac548
Force the sso value to false on default user creation
Houpert Jan 9, 2025
dbcb905
Improve message when user login with SSO, without base organisation
tjiho Jan 9, 2025
f7267b7
Disable email update if connection from SSO
tjiho Jan 9, 2025
67df9ad
Add no-cache header on nginx front-end configuration
tjiho Jan 9, 2025
8fec6fc
On sso login we consider the user email verified
Houpert Jan 10, 2025
a91a127
Merge pull request #158 from linto-ai/feature-llm-websocket
Houpert Jan 14, 2025
6af0c5b
Feature: Session template (#160)
tjiho Jan 15, 2025
dc5fa18
Feature: translations integration in media editors (#157)
tjiho Jan 15, 2025
b4cf94f
Release version 1.5.5
tjiho Jan 15, 2025
1a8329b
Front fixes
tjiho Jan 16, 2025
2897197
Fix font size change in session subtitle
tjiho Jan 16, 2025
6d47252
Fix media creation on session ending
Houpert Jan 16, 2025
48609c2
Match version of package and Release
Houpert Jan 17, 2025
10b9e3f
Change default translation spk name
Houpert Jan 17, 2025
88f0c31
Fix user information update when from SSO
tjiho Jan 17, 2025
c5e2cdc
Fix: remove arbitrary speaker cut in editor
tjiho Jan 17, 2025
8953c39
Resize subtitle canva size when changing font size
tjiho Jan 17, 2025
02683ad
Fix members right on upload
tjiho Jan 20, 2025
7f9bcbc
Filter transcriber profile on quickMeeting property
tjiho Jan 20, 2025
7c15837
Improve speaker label on translated turn
tjiho Jan 20, 2025
ccf48b6
Fix: audiowave cleaning (#162)
Houpert Jan 21, 2025
cd72dee
Improve media listing (#163)
tjiho Jan 21, 2025
338f014
Fix admin impersonate on self endpoint
Houpert Jan 21, 2025
a26e73b
Rework start menu, and support new bot api
tjiho Jan 24, 2025
5273b89
Update yt-dlp binary to the latest version
Houpert Jan 30, 2025
3294d59
Feature: Keep audio in session (#165)
tjiho Jan 31, 2025
79ffe27
Update to match new session api and improve media upload
tjiho Jan 31, 2025
fbc0616
Fix permission update when value is 0
Houpert Jan 31, 2025
ed9d9f5
Hidden upload button when needed and simplify condition
tjiho Jan 31, 2025
2dc7abd
Merge branch 'next' of github.com:linto-ai/platform-conversation-mana…
tjiho Jan 31, 2025
d024d05
frontend: update Dockerfile to configure nginx port
realitix Feb 4, 2025
84fe7fe
dashboard: add webserver port configuration via envvar
realitix Feb 4, 2025
db96ba2
Fix platform admin rights on requests
tjiho Feb 4, 2025
3940128
On quick meeting and visio, select 1st profile by default
tjiho Feb 4, 2025
c2903c3
Merge pull request #168 from linto-ai/configure_server_port
Houpert Feb 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def buildDockerfile(folder_name, version) {
def image = docker.build(completeImageName, "-f ${folder_name}/Dockerfile ./${folder_name}")

echo "Prepare to release newer version ${completeImageName}:${version}"
docker.withRegistry('https://registry.linto.ai', env.DOCKER_HUB_CRED) {
docker.withRegistry('https://registry.hub.docker.com', env.DOCKER_HUB_CRED) {
if (version == 'latest-unstable') {
image.push('latest-unstable')
} else {
Expand Down Expand Up @@ -44,8 +44,8 @@ def performBuildForFile(changedFiles, version) {
pipeline {
agent any
environment {
DOCKER_HUB_REPO = "linto-studio"
DOCKER_HUB_CRED = 'harbor-jenkins-robot'
DOCKER_HUB_REPO = "lintoai"
DOCKER_HUB_CRED = 'docker-hub-credentials'
}

stages {
Expand Down
54 changes: 46 additions & 8 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,56 @@
# 1.5.5

_2025_01_15_

## New features

- Live Session
- In LinTO Studio, you can now connect external audio streams with live transcription and translation
- It also supports live transcription of your device microphone
- Once finished, these live transcriptions are saved to your media library, with support for multiple channels and translation languages
- Backoffice and platform roles
- Add platform administrator role for managing all organizations and users
- Other platform roles are also available:
- Organization initiators who have the right to create new organizations
- Session operators for managing live sessions
- System administrators who can manages all organizations
- Add permissions per organization so you can customize each organization
- 'Upload media' permission
- 'Generate summary' permission
- 'Create session' permission
- SSO
- New login page with support of external SSO login by OIDC
- Organizations can specify a matching mail domain to automatically add users to that organization

## Improvements

- Add search in transcription and highlights
- New speaker menu in editor
- Improve docx export
- Add support for interface themes
- The upload page has been improved and renamed "Start menu"
- Users can now import media from an external url

## Fixes

- Fix subtitle editor when deleting the last screen
- Fix default organization permissions upon user creation
- Select first transcription service by default when uploading media
- Multi-language support on media upload
- Fix member rights when uploading a media
- Fix tab name in export page to come from api instead of being hardcoded in interface
- Fix max number of speaker when diarization is set to auto
- Improved and better handling of LLM results

# 1.4.2

- Support english language for the transcription
- English language support for the transcription

# 1.4.1

- Added metadata
- Added metadata

# 1.4.0

- Merge conversation-manager to one repository
- Rename conversation-manager to linto-studio

## API

## Frontend

## Websocket
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.7'
version: "3.7"

services:
studio-mongo:
Expand All @@ -11,9 +11,9 @@ services:

studio-api:
container_name: studio-api
image : linto-studio/studio-api
image: linto-studio/studio-api
build:
context: ./studio-api
context: ./studio-api
dockerfile: Dockerfile
env_file: ./studio-api/.dockerenv
volumes:
Expand All @@ -28,7 +28,7 @@ services:

studio-websocket:
container_name: studio-websocket
image : linto-studio/studio-websocket
image: linto-studio/studio-websocket
build:
context: ./studio-websocket
dockerfile: Dockerfile
Expand All @@ -40,7 +40,7 @@ services:

studio-frontend:
container_name: studio-frontend
image : linto-studio/studio-frontend
image: linto-studio/studio-frontend
build:
context: ./studio-frontend
dockerfile: Dockerfile
Expand All @@ -54,7 +54,7 @@ services:

studio-dashboard:
container_name: studio-dashboard
image : linto-studio/studio-dashboard
image: linto-studio/studio-dashboard
build:
context: ./studio-dashboard
dockerfile: Dockerfile
Expand Down
7 changes: 6 additions & 1 deletion studio-api/.dockerenv
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ DB_NAME=conversations
DB_REQUIRE_LOGIN=false

# Request a specific version of the database (optional)
DB_MIGRATION_TARGET=1.4.2
DB_MIGRATION_TARGET=1.5.5
DEFAULT_USER_ROLE=1


# STT Config
GATEWAY_SERVICES=https://api.linto.ai
Expand Down Expand Up @@ -48,3 +50,6 @@ NO_REPLY_EMAIL=
VOLUME_FOLDER=storages
VOLUME_AUDIO_PATH=audios
VOLUME_PROFILE_PICTURE_PATH=pictures

EXPORT_TEMPLATE=default
ORGANIZATION_DEFAULT_PERMISSIONS=upload,summary,session
42 changes: 37 additions & 5 deletions studio-api/.envdefault
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
COMPONENTS=WebServer,MongoMigration
WEBSERVER_HTTP_PORT=80
WEBSERVER_SESSION_SECRET=secret

FRONTEND_DOMAIN=
DEFAULT_USER_ROLE=1

# Optional for swagger
WEBSERVER_SWAGGER_HTTP_HOST=localhost
Expand All @@ -14,13 +18,14 @@ DB_PASS=example
DB_NAME=conversations

# Request a specific version of the database (optional)
DB_MIGRATION_TARGET=1.4.2
DB_MIGRATION_TARGET=1.5.4

# STT Config
GATEWAY_SERVICES=https://api.linto.ai

# LLM Config
LLM_GATEWAY_SERVICES=
LLM_GATEWAY_SERVICES_WS=

# NLP Service
NLP_SERVICES=<nlp_service_host>
Expand Down Expand Up @@ -49,11 +54,38 @@ SMTP_AUTH=
SMTP_PSWD=
NO_REPLY_EMAIL=

OPENAI_API_KEY=
MIXTRAL_API_HOST=

VOLUME_FOLDER=storages
VOLUME_AUDIO_PATH=audios
VOLUME_PROFILE_PICTURE_PATH=pictures

DISABLE_USER_CREATION=false
DISABLE_USER_CREATION=false

EXPORT_TEMPLATE=default

# ORGANIZATION_DEFAULT_PERMISSIONS supported value are "upload,summary,session"
ORGANIZATION_DEFAULT_PERMISSIONS=upload,summary,session


SUPER_ADMIN_EMAIL=
SUPER_ADMIN_PWD=

# Bellow are the settings require for the session service
SESSION_API_ENDPOINT=

BROKER_HOST=localhost
BROKER_PORT=1883
BROKER_USERNAME=
BROKER_PASSWORD=
BROKER_KEEPALIVE=60
BROKER_PROTOCOL=mqtt

# Token duration settings possible in m, h, d
TOKEN_DAYS_TIME=7d
REFRESH_TOKEN_DAYS_TIME=14d

# OIDC Type supported are : linagora
OIDC_TYPE=
OIDC_URL=
OIDC_CLIENT_ID=
OIDC_CLIENT_SECRET=
OIDC_CALLBACK_URI=
53 changes: 29 additions & 24 deletions studio-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,38 +1,43 @@
FROM node:16.2.0
FROM node:20.15.1

RUN apt-get update -y && \
apt-get install gettext -y && \
apt-get install ffmpeg -y && \
apt-get install cron -y && \
apt-get install zip -y


RUN apt-get install -y \
build-essential \
libboost-program-options-dev \
libboost-filesystem-dev \
libboost-date-time-dev \
libboost-regex-dev \
libmad0-dev \
libid3tag0-dev \
libgd-dev

apt-get install -y \
gettext \
ffmpeg \
cron \
zip \
build-essential \
libboost-program-options-dev \
libboost-filesystem-dev \
libboost-date-time-dev \
libboost-regex-dev \
libmad0-dev \
libid3tag0-dev \
libgd-dev && \
apt-get install -y libreoffice --fix-missing

RUN apt update -y && apt install -y libreoffice --fix-missing

WORKDIR /usr/src/app/conversation-manager
COPY . /usr/src/app/conversation-manager

RUN cp /usr/src/app/conversation-manager/config/bin/audiowaveform /usr/local/bin/audiowaveform
# Move binaries to their respective locations
RUN cp config/bin/yt-dlp_linux /usr/local/bin/yt-dlp

RUN npm install

RUN chmod 0644 /usr/src/app/conversation-manager/config/cron/backup-cron && \
crontab /usr/src/app/conversation-manager/config/cron/backup-cron
# Set up cron job with
RUN chmod 0644 config/cron/backup-cron && \
crontab config/cron/backup-cron

RUN service cron start

RUN chown -R node:node /usr/src/app/
USER node

#LOCAL END
HEALTHCHECK CMD curl -f http://localhost
HEALTHCHECK CMD curl -f http://localhost || exit 1
EXPOSE 80

COPY ./wait-for-it.sh /
COPY ./docker-entrypoint.sh /
COPY wait-for-it.sh /
COPY docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh"]
Loading