Skip to content

Commit

Permalink
add license to container image (#142)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Valdron <[email protected]>
  • Loading branch information
michael-valdron authored Nov 5, 2024
1 parent 0e3d403 commit 5beba03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ COPY --from=builder --chown=nextjs:0 /app/apps/${PROJECT_NAME}/dist/.next/static

RUN chown -R 1001:0 ./apps/${PROJECT_NAME} && chmod -R g=u ./apps/${PROJECT_NAME}

# Add license
RUN mkdir -p /licenses
COPY LICENSE /licenses

USER 1001

EXPOSE 3000
Expand Down

0 comments on commit 5beba03

Please sign in to comment.