Shave a lil off the Docker image size maybe.

This commit is contained in:
Buster Neece 2023-12-08 08:50:26 -06:00
parent 183e136983
commit bc819f3f19
No known key found for this signature in database
1 changed files with 4 additions and 3 deletions

View File

@ -71,10 +71,11 @@ COPY --chown=azuracast:azuracast ./frontend /tmp/hpnp
RUN cd /tmp/hpnp \
&& npm ci --include=dev \
&& npm run build-hpnp \
&& chmod a+x /var/azuracast/scripts/hpnp.cjs
&& chmod a+x /var/azuracast/scripts/hpnp.cjs \
&& cd /tmp \
&& rm -rf /tmp/hpnp
RUN rm -rf /tmp/hpnp \
&& touch /var/azuracast/.docker
RUN touch /var/azuracast/.docker
USER root