Skip to content

Commit

Permalink
#patch updating build files
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaribsin committed Mar 9, 2024
1 parent 4bcc035 commit 0a303d5
Show file tree
Hide file tree
Showing 5 changed files with 6,348 additions and 3,848 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM node:20-alpine3.18 as base
FROM node:16-alpine3.16 as base
WORKDIR /app

# Copy files for npm install and TS compile
COPY package*.json tsconfig.json ./
RUN npm ci --quiet

COPY ./src ./src

# Build stage > build project, remove deps and install runtime deps
Expand All @@ -19,7 +20,7 @@ FROM node:20-alpine3.18 as deploy
WORKDIR /home/node/app

# - - - FRESH BUILD STAGE - - -
FROM node:20-alpine3.18 as deploy
FROM node:16-alpine3.16 as deploy
WORKDIR /home/node/app

# Set user 'node' as the owner for all copied files
Expand Down
Loading

0 comments on commit 0a303d5

Please sign in to comment.