Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SolidStart #37

Open
Lunatic83 opened this issue Nov 9, 2024 · 0 comments
Open

SolidStart #37

Lunatic83 opened this issue Nov 9, 2024 · 0 comments

Comments

@Lunatic83
Copy link

Have you consider to add SolidStart for SolidJS in your list ?

https://docs.solidjs.com/

If you are interested I've already done it using docker container

You just need to creare a project following here

https://github.com/solidjs/solid-start

and add Docker file, something like this

FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# Add this environment variable to make the app listen on all interfaces
ENV HOST=0.0.0.0
RUN corepack enable
COPY . /app
WORKDIR /app

FROM base AS prod-deps
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile

FROM base AS build
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm run build

FROM base
COPY --from=prod-deps /app/node_modules /app/node_modules
COPY --from=build /app/.output /app/.output
EXPOSE 3000
CMD [ "pnpm", "start" ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant