aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..4b0f004
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,9 @@
+FROM openresty/openresty:1.21.4.1-4-alpine
+RUN apk add gettext
+COPY server/resty /usr/local/openresty/lualib/resty/
+COPY server/nginx* ./
+COPY docker_entrypoint.sh .
+COPY dist/frontend /usr/share/nginx/html
+ENTRYPOINT ["/docker_entrypoint.sh"]
+EXPOSE ${NGINX_PORT}
+CMD ["nginx", "-g", "daemon off;"]