Skip to content

Commit

Permalink
🚀 test removing env catenation
Browse files Browse the repository at this point in the history
  • Loading branch information
Oculux314 committed Sep 10, 2024
1 parent 34976ea commit d8e2e08
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions next/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ ENV STRAPI_KEY=${STRAPI_KEY}
ENV NODE_ENV="production"
ENV STRAPI_URL="https://younite-strapi-staging.fly.dev"

RUN --mount=type=secret,id=STRAPI_KEY \
STRAPI_KEY="$(cat /run/secrets/STRAPI_KEY)" \
npm run build
RUN npm run build

# Remove development dependencies
# RUN pnpm prune --prod
Expand Down

0 comments on commit d8e2e08

Please sign in to comment.