Remove tone scripts & references, rename tone-object endpoint, remove node-tone dependency, remove TONE_PATH env

This commit is contained in:
advplyr 2024-07-06 16:00:48 -05:00
parent 8bdee51798
commit e6b1acfb44
14 changed files with 34 additions and 354 deletions

View file

@ -6,7 +6,6 @@ RUN npm ci && npm cache clean --force
RUN npm run generate
### STAGE 1: Build server ###
FROM sandreas/tone:v0.1.5 AS tone
FROM node:20-alpine
ENV NODE_ENV=production
@ -21,7 +20,6 @@ RUN apk update && \
g++ \
tini
COPY --from=tone /usr/local/bin/tone /usr/local/bin/
COPY --from=build /client/dist /client/dist
COPY index.js package* /
COPY server server