0
0
docker-images/dockerfiles/priviblur.Dockerfile

19 lines
1.3 KiB
Docker
Raw Permalink Normal View History

2024-10-09 12:26:21 +08:00
# Base image credits to TheFrenchGhosty
FROM quay.io/pussthecatorg/priviblur
# Use sed to replace the colors in base.css
RUN sed -i 's/--color-primary-900: hsl(25, 100%, 15%);/--color-primary-900: hsl(210, 60%, 10%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-800: hsl(27, 50%, 30%);/--color-primary-800: hsl(210, 50%, 20%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-700: hsl(30, 50%, 40%);/--color-primary-700: hsl(210, 50%, 30%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-600: hsl(33, 70%, 45%);/--color-primary-600: hsl(210, 50%, 40%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-500: hsl(36, 80%, 50%);/--color-primary-500: hsl(210, 50%, 50%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-400: hsl(36, 90%, 60%);/--color-primary-400: hsl(210, 45%, 60%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-300: hsl(36, 100%, 70%);/--color-primary-300: hsl(210, 40%, 70%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-200: hsl(36, 100%, 85%);/--color-primary-200: hsl(210, 30%, 80%);/' ./assets/css/base.css && \
sed -i 's/--color-primary-100: hsl(36, 100%, 95%);/--color-primary-100: hsl(210, 20%, 90%);/' ./assets/css/base.css
EXPOSE 8000
USER priviblur
ENTRYPOINT [ "/sbin/tini", "--"]
CMD [ "python", "-m", "src.server" ]