aboutsummaryrefslogtreecommitdiff
path: root/docs/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Dockerfile')
-rw-r--r--docs/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/Dockerfile b/docs/Dockerfile
new file mode 100644
index 0000000..0faa826
--- /dev/null
+++ b/docs/Dockerfile
@@ -0,0 +1,10 @@
+FROM node AS build
+
+WORKDIR /app
+COPY . .
+
+RUN npm ci && npm run build
+
+FROM nginx:alpine
+COPY --from=build /app/build /usr/share/nginx/html
+LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis" \ No newline at end of file