diff --git a/client/.dockerignore b/client/.dockerignore index b512c09..7255efa 100644 --- a/client/.dockerignore +++ b/client/.dockerignore @@ -1 +1 @@ -node_modules \ No newline at end of file +yarn.lock \ No newline at end of file diff --git a/client/Dockerfile b/client/Dockerfile index bbae6b9..9ebd334 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -2,15 +2,15 @@ FROM node:22.3.0-slim as base EXPOSE 3000 ENV NODE_ENV=production WORKDIR /src -RUN npm install yarn +#RUN npm install yarn FROM base as build EXPOSE 3000 COPY . . -RUN yarn install --verbose -RUN yarn run build +RUN npm install --production=false +RUN npm run build -FROM base +FROM base as run ENV PORT=$PORT COPY --from=build /src/.output /src/.output diff --git a/client/package.json b/client/package.json index d9853ef..9d2be25 100644 --- a/client/package.json +++ b/client/package.json @@ -6,7 +6,7 @@ "dev": "nuxt dev", "generate": "nuxt generate", "preview": "nuxt preview", - "postinstall": "nuxt prepare" + "postinstall": "nuxt prepare" }, "dependencies": { "@nuxtjs/tailwindcss": "^6.12.1", diff --git a/package.json b/package.json index 2157182..c7a7dc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "house", - "version": "0.3.0", + "version": "0.3.1", "private": true, "repository": "https://github.com/DaniloMurer/churrer.xyz.git", "author": "Danilo Jakob ",