aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index dc681f8..9975b3e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:alpine AS build
+FROM node:20-alpine AS build
WORKDIR /app
@@ -6,16 +6,15 @@ COPY --chown=node:node package*.json ./
COPY --chown=node:node tsconfig.json ./
-RUN npm i -g typescript\
- && npm i
+RUN npm i
COPY --chown=node:node app app
-RUN tsc
+RUN npx tsc
-FROM node:alpine
+FROM node:20-alpine
LABEL org.opencontainers.image.source=https://github.com/LMBishop/panulat