From fda2cbea59910f12358c433660b9ff058d21aed4 Mon Sep 17 00:00:00 2001 From: Akis Date: Sat, 31 Dec 2022 17:24:14 +0200 Subject: [PATCH] probably fix csrf issue --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 687621b..0441d56 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,4 +15,8 @@ RUN pnpm build EXPOSE 4173 -CMD [ "pnpm", "preview", "--host" ] \ No newline at end of file +ENV PORT=4173 + +ENV ORIGIN=http://localhost:4173 + +CMD ["node", "build"] \ No newline at end of file