diff options
| author | Ritesh Ghosh <[email protected]> | 2023-11-29 19:23:09 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2023-11-29 19:23:09 +0530 |
| commit | c6e0ae6fa0f9c40d4c1a74b25d18cf11d74be4e8 (patch) | |
| tree | 6865c8d14bd0ce20335bc82a6d8e620cf462976b /Dockerfile | |
| parent | b9cf76d9aeb70e2dc1e5f2c31ec580f018a96812 (diff) | |
| download | aniwatch-api-c6e0ae6fa0f9c40d4c1a74b25d18cf11d74be4e8.tar.xz aniwatch-api-c6e0ae6fa0f9c40d4c1a74b25d18cf11d74be4e8.zip | |
build(Dockerfile): update server entry point path
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
