This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Description
Requirements
The Dockerfiles should be easy to maintain. They need to be reorganized so that build-deploy cycles are faster than they are now.
Tasks
- Refactor the Dockerfiles:
- rename
docker/tc-platform/ to docker/tc-website/;
- move from
run/Dockerfile to base/Dockerfile:
- all download/install commands like
yum and wget for apache, mod_ssl and mod_jk;
- the self-signed SSL certificate generation step;
- use the correct domain (
local.tc.cloud.topcoder.com) in the SSL certificate;
- in
run/Dockerfile, remove the cp of static files to Apache's DocumentRoot;
- instead, see this bitnami example of using a mounted volume for Apache's
DocumentRoot;
- that change should fix this error when the docker image is run currently:
cp: cannot stat `/root/tc-platform/tc-website-static/*': No such file or directory.
- Merge the docker image changes to the build files back into the original git repo: