Skip to content

Commit b6d4c99

Browse files
fix(k8s): use generic/default pkg name site
1 parent e37b4fb commit b6d4c99

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ RUN hab pkg exec core/hab-plan-build hab-plan-build /src/habitat/composite
5454
FROM habitat as runtime
5555

5656
# configure persistent volumes
57-
RUN hab pkg exec core/coreutils mkdir -p '/hab/svc/mysql/data' '/hab/svc/laddr/data' '/hab/svc/nginx/files' \
58-
&& hab pkg exec core/coreutils chown hab:hab -R '/hab/svc/mysql/data' '/hab/svc/laddr/data' '/hab/svc/nginx/files'
57+
RUN hab pkg exec core/coreutils mkdir -p '/hab/svc/mysql/data' '/hab/svc/site/data' '/hab/svc/nginx/files' \
58+
&& hab pkg exec core/coreutils chown hab:hab -R '/hab/svc/mysql/data' '/hab/svc/site/data' '/hab/svc/nginx/files'
5959

6060
# configure entrypoint
61-
VOLUME ["/hab/svc/mysql/data", "/hab/svc/laddr/data", "/hab/svc/nginx/files"]
61+
VOLUME ["/hab/svc/mysql/data", "/hab/svc/site/data", "/hab/svc/nginx/files"]
6262
ENTRYPOINT ["hab", "sup", "run"]
63-
CMD ["codeforphilly/laddr-composite"]
63+
CMD ["codeforphilly/site-composite"]
6464

6565
# install .hart artifact from builder stage
6666
COPY --from=projector /hab/cache/artifacts/$HAB_ORIGIN-* /hab/cache/artifacts/

habitat/plan.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pkg_name=laddr
1+
pkg_name=site
22
pkg_origin=codeforphilly
33
pkg_maintainer="Code for Philly <[email protected]>"
44
pkg_scaffolding=emergence/scaffolding-site

0 commit comments

Comments
 (0)