mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +00:00
create a new Dockerfile.shared_conf
for volume container to mount shared configuration
This commit is contained in:
parent
687ef7cecc
commit
f0a233d489
1 changed files with 17 additions and 0 deletions
17
Dockerfile.shared_conf
Normal file
17
Dockerfile.shared_conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM alpine:3.8
|
||||
|
||||
USER root
|
||||
|
||||
RUN mkdir -p /redis_conf \
|
||||
&& mkdir -p /frappe_docker_conf \
|
||||
mkdir -p /mariadb_conf
|
||||
|
||||
COPY redis-conf/ /redis_conf/
|
||||
|
||||
COPY frappe-bench/ /frappe_docker_conf/
|
||||
|
||||
COPY conf/mariadb-conf.d /mariadb_conf
|
||||
|
||||
VOLUME ["/redis_conf", "/frappe_docker_conf", "/mariadb_conf"]
|
||||
|
||||
|
||||
Loading…
Reference in a new issue