fix(docker): trying to fix docker-compose runtime error

This commit is contained in:
AlphaNecron 2021-10-07 20:40:43 +07:00
parent 5515824e77
commit 431460b7e0
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,6 @@
FROM node:14-bullseye AS builder
WORKDIR /build
ENV NEXT_TELEMETRY_DISABLED=1
COPY src ./src
@ -20,7 +19,7 @@ RUN echo -e "[core]\nsecret = 'dockersecret'\n[uploader]\nraw_route = '/r'\ndire
RUN yarn build
FROM node:fermium-alpine3.14 AS runner
FROM node:14-bullseye AS runner
WORKDIR /void
COPY --from=builder /build/node_modules ./node_modules

View File

@ -81,6 +81,7 @@
token = '' # Bot's token
admin = [''] # Admin ids
log_channel = '' # The channel where logs are sent, leave blank to disable logging
default_uid = 1 # The default user id used to shorten and upload
hostname = 'example.com' # The hostname shortened urls should use in Twilight
[shortener]