15 lines
390 B
Docker
15 lines
390 B
Docker
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"] |