From d049729b2572cf9153011e861441c174d3fb610a Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 12 Feb 2021 03:30:39 +0100 Subject: [PATCH] dockerfiles for front & backend --- backend.Dockerfile | 8 ++++++++ webapp.Dockerfile | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 backend.Dockerfile create mode 100644 webapp.Dockerfile diff --git a/backend.Dockerfile b/backend.Dockerfile new file mode 100644 index 0000000..c2e41e4 --- /dev/null +++ b/backend.Dockerfile @@ -0,0 +1,8 @@ +################################################################################## +# BRANDED ######################################################################## +################################################################################## +FROM ocelotsocialnetwork/backend:latest as branded + +# Copy public constants to the docker image branding it +COPY constants/links.js src/config/ +COPY constants/metadata.js src/config/ diff --git a/webapp.Dockerfile b/webapp.Dockerfile new file mode 100644 index 0000000..d87412a --- /dev/null +++ b/webapp.Dockerfile @@ -0,0 +1,8 @@ +################################################################################## +# BRANDED ######################################################################## +################################################################################## +FROM ocelotsocialnetwork/webapp:latest as branded + +# Copy public constants to the docker image branding it +COPY static/ static/ +COPY constants/ constants/