Skip to content

Commit

Permalink
chore: optimize image size
Browse files Browse the repository at this point in the history
  • Loading branch information
janwo committed Sep 24, 2023
1 parent b2b46c1 commit c130bb1
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 52 deletions.
3 changes: 2 additions & 1 deletion smartblueberry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ WORKDIR /home
COPY package*.json run.sh /home/

RUN chmod +x run.sh
RUN npm i
RUN npm i --only=production
CMD [ "./run.sh" ]

from base as builder
COPY --from=base /home /home
COPY . .

RUN npm i
RUN npm run frontend:build && npm run backend:build

FROM base AS runner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ <h2 i18n>Irrigation Valve Items</h2>
In order to let Smart Blueberry handle all irrigation valves for you, name
your valve items like
<app-entity-schema domain="switch" customPrefix="">
&lt;any name that contains "valve"&gt; </app-entity-schema
>. Afterwards, you can configure your valve entity in respect to your
irrigation conditions.
&lt;any name that contains "valve"&gt;
</app-entity-schema>
and configure your valve entity in respect to your irrigation conditions
here.
</p>

<h3 i18n>Adjust irrigation variables</h3>
Expand Down
Loading

0 comments on commit c130bb1

Please sign in to comment.