diff --git a/hindki/Dockerfile b/hindki/Dockerfile index 0a29edf..edc5606 100644 --- a/hindki/Dockerfile +++ b/hindki/Dockerfile @@ -1,12 +1,17 @@ FROM node:lts AS runtime WORKDIR /app +COPY package*.json ./ +RUN npm install + COPY . . -RUN npm install RUN npm run build ENV HOST=0.0.0.0 ENV PORT=4321 EXPOSE 4321 + +# Database will be mounted as a volume at runtime + CMD node ./dist/server/entry.mjs