From c6e0ae6fa0f9c40d4c1a74b25d18cf11d74be4e8 Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Wed, 29 Nov 2023 19:23:09 +0530 Subject: build(Dockerfile): update server entry point path --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e57ab2a..755ab99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,8 @@ RUN npm run build FROM node:20-alpine as prod LABEL org.opencontainers.image.source=https://github.com/ghoshRitesh12/aniwatch-api -LABEL org.opencontainers.image.description="Aniwatch API docker image" +LABEL org.opencontainers.image.description="Node.js API for obtaining anime information from aniwatch.to (formerly zoro.to) written in TypeScript, made with Cheerio & Axios" +LABEL org.opencontainers.image.description "Node.js API for obtaining anime information from aniwatch.to (formerly zoro.to) written in TypeScript, made with Cheerio & Axios" LABEL org.opencontainers.image.licenses=MIT # create a non-privileged user @@ -52,6 +53,6 @@ ENV PORT=4000 # exposed port EXPOSE 4000 -CMD [ "node", "dist/server.js" ] +CMD [ "node", "dist/src/server.js" ] # exit \ No newline at end of file -- cgit v1.2.3