DUNGEONS-6: Fix Nitro public assets in Coolify image #3
@@ -61,6 +61,11 @@ COPY --from=build /app/apps/worker apps/worker
|
|||||||
COPY --from=build /app/packages/shared packages/shared
|
COPY --from=build /app/packages/shared packages/shared
|
||||||
COPY --from=build /app/packages/game-engine packages/game-engine
|
COPY --from=build /app/packages/game-engine packages/game-engine
|
||||||
|
|
||||||
|
# Nitro 2.10 resolves file-backed public assets from the directory containing
|
||||||
|
# its split runtime chunk. Keep the generated output in its standard location
|
||||||
|
# and expose it at that runtime path without storing a second copy.
|
||||||
|
RUN ln -s ../../public apps/web/.output/server/chunks/public
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Coolify (and other hosts) override PORT at runtime; probe that port, not a
|
# Coolify (and other hosts) override PORT at runtime; probe that port, not a
|
||||||
|
|||||||
Reference in New Issue
Block a user