refactor: build development Tailwind CSS in a separate Docker service

This commit is contained in:
2025-01-03 10:41:36 +01:00
parent a3ebf712f9
commit 1666c25d13
7 changed files with 36 additions and 49 deletions

View File

@ -0,0 +1,13 @@
# 23-alpine3.21
FROM node@sha256:c61b6b12a3c96373673cd52d7ecee2314e82bca5d541eecf0bc6aee870c8c6f7
WORKDIR /srv/app
COPY ./package.json ./package.json
COPY ./package-lock.json ./package-lock.json
RUN npm install
USER 1000:1000
CMD ["npm", "run", "watch"]