Skip to content

Commit

Permalink
add labels to dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Spanos committed Dec 31, 2023
1 parent da5a78e commit b7ce8a1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/calc-odds-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ RUN npm run build


FROM node:18.13.0-alpine

LABEL org.opencontainers.image.source=https://github.com/moby-it/playpokerodds

RUN apk --no-cache add curl
EXPOSE 7071
WORKDIR /src
Expand Down
4 changes: 4 additions & 0 deletions src/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ COPY . ./
RUN npm run build:${TARGET}

FROM nginx:1.23-alpine

LABEL org.opencontainers.image.source=https://github.com/moby-it/playpokerodds


COPY --from=build /app/dist/apps/client /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf

Expand Down
3 changes: 3 additions & 0 deletions src/web-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ RUN npm run build


FROM node:18.13.0-alpine

LABEL org.opencontainers.image.source=https://github.com/moby-it/playpokerodds

RUN apk --no-cache add curl
EXPOSE 3000
WORKDIR /src
Expand Down

0 comments on commit b7ce8a1

Please sign in to comment.