From da37c946c4a343ba4d0f252aa6d74b8f640eb9ec Mon Sep 17 00:00:00 2001 From: Guus van Meerveld Date: Wed, 13 Mar 2024 20:07:32 +0100 Subject: [PATCH] build: added tailwind config file to build --- .dockerignore | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.dockerignore b/.dockerignore index b4c1699..84077a9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,7 +2,7 @@ !.env !next.config.mjs -!tailwind.config.js +!tailwind.config.ts !postcss.config.js !tsconfig.json !package.json diff --git a/Dockerfile b/Dockerfile index 7bfebc3..4915a37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN adduser -S nextjs -u 1001 COPY --from=builder /app/next.config.mjs ./ COPY --from=builder /app/postcss.config.js ./ -COPY --from=builder /app/tailwind.config.js ./ +COPY --from=builder /app/tailwind.config.ts ./ COPY --from=builder /app/public ./public COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next COPY --from=builder /app/node_modules ./node_modules @@ -31,4 +31,4 @@ USER nextjs EXPOSE 3000 -CMD ["yarn", "run", "start:migrate"] \ No newline at end of file +CMD ["yarn", "run", "start"] \ No newline at end of file