2022-04-02 20:29:25 +02:00
|
|
|
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.14
|
2022-03-22 10:05:36 +01:00
|
|
|
|
|
|
|
# set version label
|
|
|
|
ARG BUILD_DATE
|
|
|
|
ARG TP_RELEASE
|
2022-04-14 19:48:15 +02:00
|
|
|
ARG BUILD_ARCHITECTURE
|
|
|
|
LABEL build_version="Version:- ${TP_RELEASE} Build-date:- ${BUILD_DATE} Platform: ${BUILD_ARCHITECTURE}"
|
2022-03-22 10:05:36 +01:00
|
|
|
LABEL maintainer="gilbn"
|
|
|
|
|
|
|
|
RUN \
|
|
|
|
echo " ## Installing packages ## " && \
|
2022-04-13 23:39:07 +02:00
|
|
|
apk add --no-cache --virtual=runtime-dependencies \
|
2022-03-29 21:30:10 +02:00
|
|
|
python3 && \
|
2022-03-22 10:05:36 +01:00
|
|
|
echo "**** install theme.park ****" && \
|
|
|
|
mkdir -p /app/themepark
|
|
|
|
|
|
|
|
# copy local files
|
|
|
|
WORKDIR /app
|
|
|
|
COPY css/ /app/themepark/css/
|
|
|
|
COPY resources/ /app/themepark/resources/
|
2022-03-22 21:22:10 +01:00
|
|
|
COPY themes.py index.html CNAME /app/themepark/
|
2022-03-22 10:05:36 +01:00
|
|
|
|
|
|
|
COPY docker/root/ /
|