feat: ditch remix-serve for custom-baked server
This commit is contained in:
parent
d5ee8ae0f3
commit
13a734923d
7 changed files with 1026 additions and 3053 deletions
|
|
@ -13,10 +13,11 @@ RUN pnpm prune --prod
|
|||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/build /app/build
|
||||
COPY --from=build /app/server.mjs /app/server.mjs
|
||||
COPY --from=build /app/node_modules /app/node_modules
|
||||
RUN echo '{"type":"module"}' > /app/package.json
|
||||
|
||||
EXPOSE 3000
|
||||
ENV NODE_ENV=production
|
||||
ENV HOST=0.0.0.0
|
||||
CMD [ "node_modules/.bin/remix-serve", "./build/server/index.js" ]
|
||||
CMD [ "./server.mjs" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue