commit 92a6e1b032e56b92521287ee4991aebd9c0557e2 parent 045ec226e6d53697ea99cdb3c6594c1b1e7b2321 Author: Andreas Gruhler <andreas.gruhler@adfinis.com> Date: Mon, 3 Jul 2023 05:12:37 +0200 feat(myheats-demo): docker vite build Diffstat:
M | docker/docker-myheats-demo/Dockerfile | | | 9 | ++++----- |
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/docker/docker-myheats-demo/Dockerfile b/docker/docker-myheats-demo/Dockerfile @@ -9,9 +9,8 @@ RUN git clone --depth 1 https://git.in0rdr.ch/myheats.git /app RUN npm ci ENV NODE_ENV production -ENV REACT_APP_DOC_TITLE 'My Heats' -ENV REACT_APP_SUPABASE_KEY 'changeme' +ENV VITE_APP_DOC_TITLE 'My Heats' +ENV VITE_APP_SUPABASE_URL '' +ENV VITE_APP_SUPABASE_KEY 'changeme' -EXPOSE 3000 - -CMD [ "npm", "start" ] +CMD [ "npm", "run", "build" ]