-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
45 lines (41 loc) · 892 Bytes
/
Dockerfile
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
40
41
42
43
44
45
FROM lsiobase/alpine:3.11
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="lukeramsden"
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
freetype-dev \
g++ \
gcc \
lcms2-dev \
libffi-dev \
libpng-dev \
libwebp-dev \
libxml2-dev \
libxslt-dev \
linux-headers \
openssl-dev \
python3-dev && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
python3 && \
echo "**** install pip packages ****" && \
pip3 install --no-cache-dir --upgrade \
pip && \
pip3 install \
fava \
fava[excel] && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/*
# add local files
COPY root/ /
# ports and volumes
VOLUME /config
EXPOSE 5000