Decouple client from server

Add Vite dependency and remove server side rendering to make it
possible to run the client independently.
Remove webpack config, replace with the `Vite` build tool.

GitLab: #55
Change-Id: I3a05d2e86cf6cb0ab91e77b3696f393132137575
diff --git a/Dockerfile b/Dockerfile
index f7b9c5d..466a46d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,8 +19,11 @@
 
 RUN npm ci --ignore-scripts
 
-COPY . .
+# Build common library
+COPY common common
+COPY tsconfig.json ./
+RUN npm run build --workspace common
 
-RUN npm run build
+COPY . .
 
 CMD ["npm", "start"]