Working on database for messages

This commit is contained in:
2023-07-06 21:07:54 -04:00
parent a2441c6d9e
commit 9a8587e4b8
11 changed files with 132 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ RUN cargo build --release --bin siren
FROM debian:bullseye-slim as packages
WORKDIR /packages
RUN apt-get update && apt-get install -y libopus-dev curl tar xz-utils
RUN apt-get update && apt-get install -y libopus-dev libpq5 libpq-dev curl tar xz-utils
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux > yt-dlp && \
chmod +x yt-dlp
RUN curl -L https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-linux64-gpl.tar.xz > ffmpeg.tar.xz && \
@@ -15,7 +15,7 @@ RUN curl -L https://github.com/yt-dlp/FFmpeg-Builds/releases/download/latest/ffm
FROM debian:bullseye-slim as runtime
WORKDIR /siren
# RUN apt-get update && apt-get install -y libopus-dev ffmpeg youtube-dl
COPY --from=builder /siren/target/release/siren /usr/local/bin/siren
COPY --from=packages /packages /usr/bin
ADD migrations ./migrations/
CMD ["siren"]