-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Have you consider to add SolidStart for SolidJS in your list ?
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" ]
Metadata
Metadata
Assignees
Labels
No labels