feat: Configure static-web-server using sws.config.toml to define server settings and implement granular caching headers for assets.

This commit is contained in:
fiatcode 2026-02-17 18:41:46 +07:00
parent 8d615bd421
commit d3d66e4ff0
3 changed files with 45 additions and 7 deletions

View file

@ -12,7 +12,4 @@ RUN npm run build
# Stage 2: Serve
FROM joseluisq/static-web-server:2-alpine
ENV SERVER_ROOT=/public
ENV SERVER_PORT=80
COPY --from=build /app/dist /public