Skip to content

Commit

Permalink
Forenkle oppsett av TS, Vite og Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Kjetil Svalestuen committed Jun 28, 2023
1 parent 8c480a6 commit f141109
Show file tree
Hide file tree
Showing 6 changed files with 1,022 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'
cache-dependency-path: |
package-lock.json
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/navikt/baseimages/node-express:16
FROM gcr.io/distroless/nodejs18-debian11

WORKDIR /var

Expand All @@ -9,4 +9,4 @@ copy server/node_modules server/node_modules
WORKDIR /var/server

EXPOSE 8080
ENTRYPOINT ["node", "server.js"]
CMD ["server.js"]
Loading

0 comments on commit f141109

Please sign in to comment.