Skip to content

Commit

Permalink
fix: fixing docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniloMurer committed Aug 4, 2024
1 parent d674376 commit 46c5c97
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/.dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node_modules
yarn.lock
8 changes: 4 additions & 4 deletions client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
Expand Down

0 comments on commit 46c5c97

Please sign in to comment.