Fix cache headers for index html file (#28)

Part of <https://www.notion.so/Gentx-like-attestation-mechanism-to-add-validators-at-genesis-time-19da6b22d47280ecbf1fe657c241ff59>

- Use serve package for controlling separate cache headers for files

Reviewed-on: LaconicNetwork/laconic-wallet-web#28
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
2025-05-02 08:23:22 +00:00
committed by nabarun
parent b2eafe59b3
commit f47850ebfa
4 changed files with 26 additions and 3 deletions
@@ -33,7 +33,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
RUN mkdir -p /scripts
# Install simple web server for now (use nginx perhaps later)
RUN yarn global add http-server
RUN yarn global add serve
WORKDIR /app
COPY . .