mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-04 10:12:31 +01:00
23 lines
656 B
Docker
23 lines
656 B
Docker
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:${BUILDPLATFORM}-3.14
|
|
|
|
# set version label
|
|
ARG BUILD_DATE
|
|
ARG TP_RELEASE
|
|
LABEL build_version="Version:- ${VERSION} Build-date:- ${BUILD_DATE} Platform: ${BUILDPLATFORM}"
|
|
LABEL maintainer="gilbn"
|
|
LABEL org.opencontainers.image.description DESCRIPTION
|
|
|
|
RUN \
|
|
echo " ## Installing packages ## " && \
|
|
apk add --no-cache --virtual=build-dependencies \
|
|
python3 && \
|
|
echo "**** install theme.park ****" && \
|
|
mkdir -p /app/themepark
|
|
|
|
# copy local files
|
|
WORKDIR /app
|
|
COPY css/ /app/themepark/css/
|
|
COPY resources/ /app/themepark/resources/
|
|
COPY themes.py index.html CNAME /app/themepark/
|
|
|
|
COPY docker/root/ / |