dockerfile

This commit is contained in:
x
2025-03-09 13:55:55 +01:00
parent a6fe997b92
commit c0308f466f

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM archlinux
RUN pacman -Syy --noconfirm
RUN pacman -S nodejs npm ffmpeg yt-dlp ffmpegthumbnailer postgresql imagemagick git mailcap --noconfirm
WORKDIR /opt/
# if you want to have f0ck-f0ck (master branch)
#RUN git clone https://git.lat/f0ck/f0ckv2.git
ADD ./f0ckv2/ /opt/f0ckv2
WORKDIR /opt/f0ckv2
RUN npm i
RUN mkdir -p public/ca deleted/{ca,b,t}
ENTRYPOINT ["npm", "run", "start"]