Fixed Prod
This commit is contained in:
parent
4bb4b0ca3a
commit
951a614919
@ -40,4 +40,4 @@ COPY serve.json ./dist
|
|||||||
# Expose the port you want for production (e.g., 3000 or 80)
|
# Expose the port you want for production (e.g., 3000 or 80)
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
CMD ["serve", "dist", "-l", "3000", "--single", "--config", "serve.json"]
|
CMD ["serve", "dist", "-l", "3000", "--config", "serve.json"]
|
||||||
@ -18,6 +18,15 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"source": "**/*.@(html|json)",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value": "no-cache, no-store, must-revalidate"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"source": "**",
|
"source": "**",
|
||||||
"headers": [
|
"headers": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user