* use Github container registry to remove dependency on dockerhub * use sops for secure encryption of secrets * use ONBUILD in docker images for rebranding * use helmfile for deploying various environments
8 lines
290 B
Docker
8 lines
290 B
Docker
ARG OCELOT_VERSION=master
|
|
|
|
FROM ghcr.io/ocelot-social-community/ocelot-social/maintenance:${OCELOT_VERSION}-code AS build
|
|
|
|
FROM nginx:alpine AS branded
|
|
COPY --from=build ./app/dist/ /usr/share/nginx/html/
|
|
COPY --from=build ./app/maintenance/nginx/custom.conf /etc/nginx/conf.d/default.conf
|