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-03 15:10:26 +02:00
|
|
|
LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE} Platform: ${BUILD_ARCHITECTURE}"
|
2022-03-22 10:05:36 +01:00
|
|
|
LABEL maintainer="gilbn"
|
2022-03-31 21:06:37 +02:00
|
|
|
LABEL org.opencontainers.image.description DESCRIPTION
|
2022-03-22 10:05:36 +01:00
|
|
|
|
|
|
|
RUN \
|
|
|
|
echo " ## Installing packages ## " && \
|
|
|
|
apk add --no-cache --virtual=build-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/ /
|