Added docker support + fixed button bug

This commit is contained in:
2024-08-31 13:10:25 +02:00
parent 70e3818170
commit f712291bdd
7 changed files with 68 additions and 10 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:18-slim as node
WORKDIR /app
COPY . .
RUN npm install
RUN npm install -g @ionic/cli
RUN ionic build --prod
FROM nginx:latest AS ngi
COPY --from=node /app/www /usr/share/nginx/html
COPY /nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80