This commit is contained in:
x
2025-03-08 19:51:32 +01:00
parent 2032856ad3
commit 5011d7950a
4 changed files with 32 additions and 43 deletions

View File

@ -2,10 +2,13 @@ FROM archlinux
RUN pacman -Syy --noconfirm
RUN pacman -S nodejs npm ffmpeg yt-dlp ffmpegthumbnailer postgresql imagemagick git mailcap --noconfirm
WORKDIR /opt/
RUN git clone https://git.lat/f0ck/f0ckv2.git
WORKDIR /opt/f0ckv2
VOLUME ./f0ckv2 /opt/f0ckv2
ENTRYPOINT ["npm", "run", "start"]
COPY f0ckv2/ /opt/f0ckv2
RUN npm i
RUN mkdir -p public/ca deleted/{ca,b,t}
COPY config.json /opt/f0ckv2/
ENTRYPOINT ["npm", "run", "start"]