forked from CoryManson/meloday-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdockerfile
More file actions
39 lines (35 loc) · 1.05 KB
/
dockerfile
File metadata and controls
39 lines (35 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:3.21
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
openssl-dev \
python3-dev \
git && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
gnupg \
python3 \
py3-pip && \
echo "**** verify installed packages ****" && \
python3 --version && \
pip --version && \
git --version && \
echo "**** install app ****" && \
python3 -m venv /lsiopy && \
/lsiopy/bin/pip install -U --no-cache-dir \
pip \
wheel && \
/lsiopy/bin/pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ \
-r https://raw.githubusercontent.com/trackstacker/meloday/refs/heads/main/requirements.txt && \
git clone --branch docker https://github.com/CoryManson/meloday-docker.git meloday && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/tmp/* \
$HOME/.cache
# copy local files
COPY root/ /
# volumes
VOLUME /config