mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
remove sensitive files on static build
This commit is contained in:
parent
36172491a4
commit
5863e45c13
@ -25,6 +25,12 @@ export const buildStatic = async (
|
|||||||
].join("\n"),
|
].join("\n"),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
createFile(
|
||||||
|
buildAppDirectory,
|
||||||
|
".dockerignore",
|
||||||
|
[".git", ".env", "Dockerfile", ".dockerignore"].join("\n"),
|
||||||
|
);
|
||||||
|
|
||||||
await buildCustomDocker(
|
await buildCustomDocker(
|
||||||
{
|
{
|
||||||
...application,
|
...application,
|
||||||
|
Loading…
Reference in New Issue
Block a user