working tailwind
This commit is contained in:
@@ -3,15 +3,17 @@ FROM docker.io/oven/bun as base
|
||||
# install dependencies into temp directory
|
||||
FROM base AS install
|
||||
WORKDIR /modules
|
||||
COPY package.json bun.lockb /modules/
|
||||
COPY package.json bun.lockb ./
|
||||
COPY src ./src
|
||||
RUN bun install --frozen-lockfile --production
|
||||
|
||||
RUN bun run tailwind:build
|
||||
|
||||
# copy production dependencies and source code into final image
|
||||
FROM base AS release
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY --from=install /modules/node_modules node_modules
|
||||
COPY --from=install /modules/public public
|
||||
COPY src .
|
||||
|
||||
# run the app
|
||||
|
Reference in New Issue
Block a user