dockerfiles for front & backend

This commit is contained in:
Ulf Gebhardt 2021-02-12 03:30:39 +01:00
parent ee966a533b
commit d049729b25
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
2 changed files with 16 additions and 0 deletions

8
backend.Dockerfile Normal file
View File

@ -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/

8
webapp.Dockerfile Normal file
View File

@ -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/