Skip to content

Commit

Permalink
fix: more corepack stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
awlayton committed Dec 12, 2024
1 parent 379f734 commit 6fba187
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions oada/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,18 @@ ARG OADA_SERVICE
ENV OADA_SERVICE=${OADA_SERVICE}
ENV INSPECT=

# Have corepack download yarn
ENV COREPACK_HOME=/oada/.cache/node/corepack
RUN corepack enable
RUN corepack install

WORKDIR /oada/services/${OADA_SERVICE}

# Do not run services as root
USER node
ENV PORT=8080

# Have corepack download yarn
RUN corepack install;

FROM production as debug
FROM production AS debug

USER root

Expand Down

0 comments on commit 6fba187

Please sign in to comment.