User Account
- Put Kirby Admin Account into the Docker Image - Updated to latest kirby version
This commit is contained in:
parent
c81053ccec
commit
c4eb1163af
4 changed files with 18 additions and 3 deletions
12
Dockerfile
12
Dockerfile
|
@ -4,14 +4,20 @@ WORKDIR /work
|
||||||
RUN \
|
RUN \
|
||||||
apk update && \
|
apk update && \
|
||||||
apk add curl && \
|
apk add curl && \
|
||||||
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/master.zip && \
|
curl -L -o master.zip https://github.com/getkirby/plainkit/archive/main.zip && \
|
||||||
unzip master.zip && \
|
unzip master.zip && \
|
||||||
cd plainkit-master && \
|
cd plainkit-main && \
|
||||||
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
|
rm -rf README.md .editorconfig .gitignore .htaccess composer.json
|
||||||
|
|
||||||
|
COPY UCQ1Lrae /work/plainkit-main/site/accounts/UCQ1Lrae
|
||||||
|
|
||||||
|
# Just for checking what exactly is in there
|
||||||
|
#
|
||||||
|
# RUN find /work -print
|
||||||
|
|
||||||
############################
|
############################
|
||||||
|
|
||||||
FROM php:8-fpm-alpine3.13
|
FROM php:8-fpm-alpine3.13
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
COPY --from=builder /work/plainkit-master /site
|
COPY --from=builder /work/plainkit-main /site
|
||||||
|
|
1
UCQ1Lrae/.htpasswd
Normal file
1
UCQ1Lrae/.htpasswd
Normal file
|
@ -0,0 +1 @@
|
||||||
|
$2y$10$x2M95T3k//JvX3fj99jxkeDrXzuxwIm387ic7bn9mIv8w1Cq9f/7W
|
8
UCQ1Lrae/index.php
Normal file
8
UCQ1Lrae/index.php
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'email' => 'kirby-admin@germanzero.de',
|
||||||
|
'language' => 'de',
|
||||||
|
'name' => 'German Zero Admin',
|
||||||
|
'role' => 'admin'
|
||||||
|
];
|
0
UCQ1Lrae/user.txt
Normal file
0
UCQ1Lrae/user.txt
Normal file
Loading…
Reference in a new issue