Skip to content

Commit

Permalink
Merge pull request #6 from mconf/patch-1
Browse files Browse the repository at this point in the history
chore: various improvements
  • Loading branch information
prlanzarin authored May 17, 2023
2 parents b8d7091 + ad01f39 commit 6d5c44f
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git/
node_modules/
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
*~
**/#*#
*.log
node_modules/
log/*
config/default.yml
*.orig
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#
# To build: docker build -t bigbluebutton/transcription-controller .
# To run: docker run --rm --name transcription-controller -v $(pwd)/config/production.yml:/app/config/production.yml bigbluebutton/transcription-controller
# To run: docker run -d --name bbb-transcription-controller --restart always -v $(pwd)/default.yml:/app/config/default.yml docker.io/mconf/bbb-transcription-controller:latest

FROM node:18-alpine

RUN apk update && apk add git

ADD . app

WORKDIR app
FROM node:18-slim

ENV NODE_ENV production

RUN cp config/default.yml config/production.yml
WORKDIR /app

COPY package.json package-lock.json /app/

RUN npm install \
&& npm cache clear --force

COPY . /app

RUN cp config/default.example.yml config/default.yml

CMD [ "npm", "start" ]
File renamed without changes.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbb-transcription-controller",
"version": "0.0.1",
"version": "0.1.0",
"description": "BigBlueButton's Transcription Controller",
"engines": {
"node": ">=16"
Expand Down

0 comments on commit 6d5c44f

Please sign in to comment.