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:
parent
8d615bd421
commit
d3d66e4ff0
3 changed files with 45 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue