Add first version of the frontend
As of now the only usable functionality is signin in/out and managing
authorized users, and even then there is much room for improvement.
Change-Id: Ib87fc6866f69113a230187710de8644b78391917
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
new file mode 100644
index 0000000..e04e3b9
--- /dev/null
+++ b/frontend/Dockerfile
@@ -0,0 +1,16 @@
+FROM node:16-alpine as build-stage
+
+WORKDIR /app
+
+COPY package*.json /app
+
+RUN npm install
+
+COPY ./ /app/
+
+RUN ./node_modules/webpack-cli/bin/cli.js --mode production
+
+FROM nginx:1.21-alpine
+LABEL maintainer "me@avm99963.com"
+
+COPY --from=build-stage /app/dist /usr/share/nginx/html