aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLeonardo Bishop <me@leonardobishop.com>2024-09-09 17:59:57 +0100
committerLeonardo Bishop <me@leonardobishop.com>2024-09-09 17:59:57 +0100
commit773d657ad103bd6911eddeac8618942bb9fcbcce (patch)
tree55b06ade19b2422e4f8bf6b8b79441e7efb045d1 /Dockerfile
parent2620b9c21761759b6b57a3b29e58c0fbb739a413 (diff)
Add footnotes feature
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