some ci fixes

This commit is contained in:
2024-05-13 12:42:30 +02:00
parent d35c246d54
commit f2b29dd723
9 changed files with 84 additions and 61 deletions

View File

@@ -10,13 +10,13 @@ RUN bun run tailwind:build
# copy production dependencies and source code into final image
FROM base AS release
WORKDIR /usr/src/app
WORKDIR /app
COPY --from=install /modules/node_modules node_modules
COPY --from=install /modules/public public
COPY src .
COPY --from=install /modules/node_modules ./node_modules
COPY --from=install /modules/public ./public
COPY src ./src
# run the app
USER bun
EXPOSE 3000/tcp
ENTRYPOINT [ "bun", "run", "index.tsx" ]
ENTRYPOINT [ "bun", "run", "src/index.tsx" ]