mirror of
https://github.com/gilbN/theme.park.git
synced 2024-11-05 02:32:37 +01:00
23 lines
646 B
Docker
23 lines
646 B
Docker
FROM 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: ${BUILD_ARCHITECTURE}"
|
|
LABEL maintainer="gilbn"
|
|
LABEL org.opencontainers.image.description DESCRIPTION
|
|
|
|
RUN \
|
|
echo " ## Installing packages ## " && \
|
|
apk add --no-cache --virtual=runtime-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/ / |