Skip to content

Commit

Permalink
build(container): simplify copy/compile
Browse files Browse the repository at this point in the history
  • Loading branch information
EdJoPaTo committed Feb 6, 2024
1 parent fa2610a commit 06acc53
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM docker.io/library/node:20-alpine AS builder
WORKDIR /build

COPY package.json package-lock.json tsconfig.json ./
COPY package.json package-lock.json ./
RUN npm ci

COPY source source
COPY . ./
RUN node_modules/.bin/tsc


Expand Down

0 comments on commit 06acc53

Please sign in to comment.