refactor: build development Tailwind CSS in a separate Docker service
This commit is contained in:
13
docker/dev/style-builder/Dockerfile
Normal file
13
docker/dev/style-builder/Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user