-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
needs triageIssue needs to be triagedIssue needs to be triaged
Description
Describe the Bug
To reproduce the issue:
- Create a new astro project with
npm create astro@latest
and select the default options - Add Tailwind CSS with
npx astro add tailwind
- Import
globals.css
inLayout.astro
(as intructed by the previous command) - Create the following
Dockerfile
:
FROM node:lts-alpine AS build
COPY . .
RUN npm install
RUN npm run build
FROM nginx:alpine
COPY --from=build ./dist/* /var/www/website/html/
EXPOSE 80
CMD ["nginx"]
- Create the following
compose.yaml
:
services:
website:
build: .
ports:
- "80:80"
- Run
docker compose up --build
What's the expected result?
The build completes
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-o3iokbxa?file=src%2Flayouts%2FLayout.astro
Participation
- I am willing to submit a pull request for this issue.
Metadata
Metadata
Assignees
Labels
needs triageIssue needs to be triagedIssue needs to be triaged