-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
28 lines (23 loc) · 707 Bytes
/
Dockerfile
File metadata and controls
28 lines (23 loc) · 707 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
25
26
27
28
FROM ghcr.io/linuxserver/baseimage-alpine:edge
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="Quietsy"
COPY root/app/requirements.txt /tmp/requirements.txt
RUN \
echo "**** install packages ****" && \
apk add -U --update --no-cache \
python3 && \
cd /app && \
python3 -m venv /lsiopy && \
pip install -U --no-cache-dir \
pip && \
pip install -U --no-cache-dir -r /tmp/requirements.txt && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/* \
$HOME/.cache
COPY root/ /
EXPOSE 8000
VOLUME /config