-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (16 loc) · 775 Bytes
/
Dockerfile
File metadata and controls
24 lines (16 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM perl:5.40.0
LABEL org.opencontainers.image.authors="Jovany Leandro G. C <bit4bit@riseup.net>"
RUN apt-get update && apt-get install -y wget2 highlight plantuml git fossil mercurial ffmpeg python3 python3-pip python3-dev
COPY . /usr/src/app
WORKDIR /usr/src/app
RUN cpanm --installdeps --notest .
RUN cpanm install -n -f Starman
# otras dependencias
RUN pip install --break-system-packages --upgrade yt-dlp
RUN curl https://dist.ipfs.tech/ipget/v0.11.0/ipget_v0.11.0_linux-amd64.tar.gz -o /tmp/ipget.tar.gz
RUN cd /tmp/ && tar -xf ipget.tar.gz && cp ipget/ipget /usr/bin && chmod a+rx /usr/bin/ipget
ENV DANCER_PORT=5000
ENV APP_ENV=prod
VOLUME ["/localmark_storage"]
COPY docker.prod.env /usr/src/app/prod.env
CMD plackup -s Starman -I./lib script/localmark.pl