-
-
Notifications
You must be signed in to change notification settings - Fork 304
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (15 loc) · 395 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (15 loc) · 395 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM node:24.14.1-alpine3.23
WORKDIR /usr/src/app
### Font Config ###
# Install runtime OS dependencies
RUN apk add --no-cache fontconfig
COPY ./fonts /usr/share/fonts
# Rebuild the font cache
RUN fc-cache -f
COPY ./package.json ./
RUN npm install --omit=dev --no-audit --no-fund && npm cache clean --force
COPY ./ ./
ENV NODE_ENV production
ENV PORT 80
EXPOSE 80
CMD ["node", "index.js"]