mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Merge branch 'master' of github.com:simojenki/bonob
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -2,15 +2,17 @@ FROM node:14.15-alpine as build
|
|||||||
|
|
||||||
WORKDIR /bonob
|
WORKDIR /bonob
|
||||||
|
|
||||||
COPY src .
|
COPY src ./src
|
||||||
# COPY tests .
|
COPY web ./web
|
||||||
# COPY jest.config.js .
|
COPY tests ./tests
|
||||||
|
COPY jest.config.js .
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
# COPY register.js .
|
COPY register.js .
|
||||||
COPY tsconfig.json .
|
COPY tsconfig.json .
|
||||||
COPY yarn.lock .
|
COPY yarn.lock .
|
||||||
|
|
||||||
RUN yarn install && \
|
RUN yarn install && \
|
||||||
|
yarn test --no-cache && \
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
|
|
||||||
@@ -23,7 +25,7 @@ WORKDIR /bonob
|
|||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
COPY yarn.lock .
|
COPY yarn.lock .
|
||||||
COPY --from=build /bonob/build/* ./
|
COPY --from=build /bonob/build/src/* ./
|
||||||
COPY web web
|
COPY web web
|
||||||
COPY src/Sonoswsdl-1.19.4-20190411.142401-3.wsdl /bonob/Sonoswsdl-1.19.4-20190411.142401-3.wsdl
|
COPY src/Sonoswsdl-1.19.4-20190411.142401-3.wsdl /bonob/Sonoswsdl-1.19.4-20190411.142401-3.wsdl
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import { InMemoryMusicService } from "./in_memory_music_service";
|
|||||||
const WEB_ADDRESS = "http://localhost:1234"
|
const WEB_ADDRESS = "http://localhost:1234"
|
||||||
|
|
||||||
const bonob = bonobService("bonob-test", 247, WEB_ADDRESS, 'Anonymous');
|
const bonob = bonobService("bonob-test", 247, WEB_ADDRESS, 'Anonymous');
|
||||||
const app = server(sonos("disabled"), bonob, WEB_ADDRESS, new InMemoryMusicService());
|
const app = server(sonos(false), bonob, WEB_ADDRESS, new InMemoryMusicService());
|
||||||
|
|
||||||
getPort().then((port) => {
|
getPort().then((port) => {
|
||||||
logger.debug(`Starting on port ${port}`);
|
logger.debug(`Starting on port ${port}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user