From d61e01f46483f6890902009823d367c0b6bb73dc Mon Sep 17 00:00:00 2001 From: GigiaJ Date: Wed, 1 Oct 2025 17:13:50 -0500 Subject: [PATCH] Add dockerfile --- dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dockerfile diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..6a79192 --- /dev/null +++ b/dockerfile @@ -0,0 +1,15 @@ +FROM node:18-bullseye AS builder +RUN apt-get update && apt-get install -y default-jre +WORKDIR /app +COPY package.json package-lock.json shadow-cljs.edn ./ +RUN npm install +COPY src ./src +COPY public ./public +RUN npx shadow-cljs release :app + + +FROM nginx:alpine +COPY --from=builder /app/public /usr/share/nginx/html +COPY nginx.conf /etc/nginx/conf.d/default.conf +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file