Skip to content

Commit

Permalink
Prøv uten distroless
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaegrov committed Nov 7, 2024
1 parent 35ea102 commit 1cb271e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ RUN npm ci --ignore-scripts --omit dev


# runtime
FROM gcr.io/distroless/nodejs20-debian12 as runtime
#FROM gcr.io/distroless/nodejs20-debian12 as runtime
FROM node
WORKDIR /app

ARG NODE_ENV=production
Expand All @@ -43,4 +44,4 @@ COPY ./package.json ./package.json
COPY --from=app-build /app/build/ ./build/
COPY --from=app-dependencies /app/node_modules ./node_modules

CMD ["build/server/index.js"]
CMD ["npm" ,"run", "start"]
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@types/uuid": "10.0.0",
"@vitejs/plugin-react": "4.3.3",
"@vitest/coverage-istanbul": "2.1.4",
"dotenv": "16.4.5",
"eslint": "8.57.1",
"husky": "9.1.6",
"jsdom": "25.0.1",
Expand Down

0 comments on commit 1cb271e

Please sign in to comment.