Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Upgrades TasmoAdmin to v4.0.1 #381

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions tasmoadmin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILDER=ghcr.io/hassio-addons/base-nodejs:0.1.3
FROM ${BUILDER} AS builder

# Setup base
ARG TASMOADMIN_VERSION="v3.3.3"
ARG TASMOADMIN_VERSION="v4.0.1"

# hadolint ignore=DL3003
RUN \
Expand All @@ -17,8 +17,7 @@ RUN \
\
&& cd /var/www/tasmoadmin/tasmoadmin \
&& npm ci \
&& node minify.js \
&& NODE_ENV=production npm ci
&& npm run build

# hadolint ignore=DL3006
FROM ${BUILD_FROM}
Expand Down Expand Up @@ -58,6 +57,7 @@ RUN \
/var/www/tasmoadmin/.github \
/var/www/tasmoadmin/.iocage \
/var/www/tasmoadmin/docker-compose.yml \
/var/www/tasmoadmin/node_modules \
/var/www/tasmoadmin/tasmoadmin/tests \
\
&& find /var/www/tasmoadmin -type f -name ".htaccess" -depth -exec rm -f {} \; \
Expand Down