chore: bump node version & update Dockerfile description
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
# build stage for building .ts files
|
# build stage for building .ts files
|
||||||
FROM node:20-alpine as build
|
FROM node:22-alpine as build
|
||||||
|
|
||||||
RUN mkdir /home/app
|
RUN mkdir /home/app
|
||||||
|
|
||||||
@@ -14,10 +14,10 @@ COPY . .
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# prod stage for including only necessary files
|
# prod stage for including only necessary files
|
||||||
FROM node:20-alpine as prod
|
FROM node:22-alpine as prod
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source=https://github.com/ghoshRitesh12/aniwatch-api
|
LABEL org.opencontainers.image.source=https://github.com/ghoshRitesh12/aniwatch-api
|
||||||
LABEL org.opencontainers.image.description="Node.js API for obtaining anime information from hianime.to (formerly aniwatch.to) written in TypeScript, made with Cheerio & Axios"
|
LABEL org.opencontainers.image.description="Node.js API for obtaining anime information from hianime.to (formerly aniwatch.to)"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
# create a non-privileged user
|
# create a non-privileged user
|
||||||
|
|||||||
Reference in New Issue
Block a user