This repository has been archived on 2025-10-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
talking-drupal-tailwindcss/Dockerfile

24 lines
397 B
Text
Raw Permalink Normal View History

2022-03-15 18:22:18 +00:00
FROM node:alpine AS assets
RUN mkdir /node_modules \
&& chown node:node -R /node_modules
ENV PATH=${PATH}:/node_modules/.bin
RUN apk add --no-cache bash \
&& yarn global add tailwindcss
USER node
###
FROM php:8-cli-alpine AS composer
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
###
FROM opdavies/sculpin-serve:php-8.1-alpine AS web
# COPY --from=assets /app/dist /app