Skip to content

Commit

Permalink
ff
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad committed Sep 22, 2024
1 parent 00553a6 commit 12e7de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:18-alpine as builder

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-deploy / Bygg, test og publiser docker image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /finnfastlege

COPY server.ts package.json tsconfig.json vite.config.ts index.html ./
COPY server.ts package.json tsconfig.json vite.config.ts index.html .env.production ./
COPY server ./server
COPY node_modules ./node_modules
COPY img ./img
Expand All @@ -20,4 +20,4 @@ COPY --from=builder /finnfastlege/img ./img

EXPOSE 8080
USER nonroot
CMD ["node", "./dist/server.js"]
CMD ["./dist/server.js"]

0 comments on commit 12e7de8

Please sign in to comment.