From 997812642868d9c221cafa8d9cc9a637cc36d9bd Mon Sep 17 00:00:00 2001 From: Mari Date: Sat, 4 May 2024 00:13:35 -0700 Subject: [PATCH] Add config files to the build context --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ce0c176..f3f7ca1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM node:latest AS build RUN apt-get update && apt-get install -y --no-install-recommends dumb-init WORKDIR /usr/src/app +COPY package*.json .prettierrc .eslintrc.cjs tsconfig.json /usr/src/app/ COPY src /usr/src/app/src/ -COPY package*.json /usr/src/app/ RUN npm ci RUN npm run lint RUN npm run build