<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Build and zip in Developer Q&amp;A Forum</title>
    <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294608#M1621</link>
    <description>&lt;P&gt;Hi MW_ErikPost,&lt;/P&gt;
&lt;P&gt;You need to execute&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;npx dt-app deploy --dry-run &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;which will create a folder called &lt;STRONG&gt;out&lt;/STRONG&gt;, with the artifact zipped.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;dist&lt;/STRONG&gt; folder that comes from the &lt;STRONG&gt;dt-app build&lt;/STRONG&gt; command by itself is not enough for deploying the app since you are missing key metadata files like the &lt;STRONG&gt;app.config.json.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The documentation states how the &lt;STRONG&gt;dt-app deploy&lt;/STRONG&gt; command works under the hood, which is the one zipping the needed files to be able to upload them through the API. However, as a user you don't keep that zip file unless you use the &lt;STRONG&gt;--dry-run&lt;/STRONG&gt; parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Feb 2026 14:40:01 GMT</pubDate>
    <dc:creator>dani_coll</dc:creator>
    <dc:date>2026-02-11T14:40:01Z</dc:date>
    <item>
      <title>Build and zip</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294603#M1620</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;According to the Dynatrace Docs(&lt;A href="https://developer.dynatrace.com/plan/platform-services/app-engine/" target="_blank"&gt;https://developer.dynatrace.com/plan/platform-services/app-engine/&lt;/A&gt;) the preferred way to create an app bundle (zip) that can be uploaded in an environment is to use the dt-app toolkit.&lt;/P&gt;&lt;P&gt;But when I use npx dt-app build it will create a /dist folder with files but not a zip folder.&lt;BR /&gt;If I zip the /dist folder it will not allow me to upload the custom app complaining about missing files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use npx dt-app deploy it will deploy to my environment as expected but this also does not create a distributable zip file.&lt;/P&gt;&lt;P&gt;What is the preferred way to create a distributable zip file?&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 13:45:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294603#M1620</guid>
      <dc:creator>MW_ErikPost</dc:creator>
      <dc:date>2026-02-11T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Build and zip</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294608#M1621</link>
      <description>&lt;P&gt;Hi MW_ErikPost,&lt;/P&gt;
&lt;P&gt;You need to execute&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class="s1"&gt;npx dt-app deploy --dry-run &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;which will create a folder called &lt;STRONG&gt;out&lt;/STRONG&gt;, with the artifact zipped.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;dist&lt;/STRONG&gt; folder that comes from the &lt;STRONG&gt;dt-app build&lt;/STRONG&gt; command by itself is not enough for deploying the app since you are missing key metadata files like the &lt;STRONG&gt;app.config.json.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The documentation states how the &lt;STRONG&gt;dt-app deploy&lt;/STRONG&gt; command works under the hood, which is the one zipping the needed files to be able to upload them through the API. However, as a user you don't keep that zip file unless you use the &lt;STRONG&gt;--dry-run&lt;/STRONG&gt; parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 14:40:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294608#M1621</guid>
      <dc:creator>dani_coll</dc:creator>
      <dc:date>2026-02-11T14:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: Build and zip</title>
      <link>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294609#M1622</link>
      <description>&lt;P&gt;Thanks Dani,&amp;nbsp;&lt;/P&gt;&lt;P&gt;That indeed seems to work. I do not see it stated anywhere in the documentation, might be worth to add this to here:&amp;nbsp;&lt;A href="https://developer.dynatrace.com/quickstart/app-toolkit/#deploy" target="_blank"&gt;https://developer.dynatrace.com/quickstart/app-toolkit/#deploy&lt;/A&gt;&amp;nbsp;and to the command help as well.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Feb 2026 15:00:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Developer-Q-A-Forum/Build-and-zip/m-p/294609#M1622</guid>
      <dc:creator>MW_ErikPost</dc:creator>
      <dc:date>2026-02-11T15:00:01Z</dc:date>
    </item>
  </channel>
</rss>

