mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-19 17:42:32 +01:00
23 lines
667 B
Docker
23 lines
667 B
Docker
FROM --platform=${BUILDPLATFORM} ghcr.io/linuxserver/baseimage-alpine-nginx: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/ / |