Skip to content

Commit

Permalink
add dockerfiel
Browse files Browse the repository at this point in the history
  • Loading branch information
wurstbrot committed Mar 14, 2023
1 parent e15af04 commit 51d4854
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM wurstbrot/dsomm-yaml-generation as yaml
COPY data/custom /var/www/html/src/assets/YAML/custom
RUN ls /var/www/html/src/assets/YAML/ && cd /var/www/html && php yaml-generation/generateDimensions.php

FROM wurstbrot/dsomm
COPY --from=yaml ["/var/www/html/src/assets/YAML/generated/generated.yaml", "/usr/share/nginx/html/assets/YAML/generated/generated.yaml"]
COPY data/meta.yaml /usr/share/nginx/html/assets/YAML/meta.yaml

0 comments on commit 51d4854

Please sign in to comment.