fix: serve web assets from app directory
This commit is contained in:
@@ -27,10 +27,10 @@ ENV HOST=0.0.0.0
|
|||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app/apps/web
|
||||||
|
|
||||||
COPY --from=build /app /app
|
COPY --from=build /app /app
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["node", "apps/web/node_modules/.bin/react-router-serve", "apps/web/build/server/index.js"]
|
CMD ["node", "node_modules/.bin/react-router-serve", "build/server/index.js"]
|
||||||
|
|||||||
Reference in New Issue
Block a user