Link static files for vite-express
This commit is contained in:
@@ -48,6 +48,9 @@ RUN cd /app/code && npx prisma generate --schema=/app/code/prisma/schema.prisma
|
||||
RUN cp /app/code/node_modules/.prisma/client/*.node /app/code/dist/ 2>/dev/null || true
|
||||
RUN cp /app/code/node_modules/.prisma/client/*.node /app/code/node_modules/@prisma/client/ 2>/dev/null || true
|
||||
|
||||
# Link static files to where vite-express expects them
|
||||
RUN ln -sfn /app/code/dist/public /app/code/server/public
|
||||
|
||||
# Set up initial data directory template
|
||||
RUN mkdir -p /tmp/data/.blinko
|
||||
|
||||
|
||||
Reference in New Issue
Block a user