feat(dockerfile): updated Dockerfile labels
This commit is contained in:
+3
-2
@@ -16,8 +16,9 @@ RUN npm run build
|
|||||||
# prod stage for including only necessary files
|
# prod stage for including only necessary files
|
||||||
FROM node:18-alpine as prod
|
FROM node:18-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 "Aniwatch API docker image"
|
LABEL org.opencontainers.image.description="Aniwatch API docker image"
|
||||||
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
# create a non-privileged user
|
# create a non-privileged user
|
||||||
RUN addgroup -S aniwatch && adduser -S zoro -G aniwatch
|
RUN addgroup -S aniwatch && adduser -S zoro -G aniwatch
|
||||||
|
|||||||
Reference in New Issue
Block a user