Skip to content

Commit

Permalink
chore: fix wip
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Dec 29, 2023
1 parent ea3a8f8 commit aa65ddb
Show file tree
Hide file tree
Showing 18 changed files with 14,708 additions and 14,716 deletions.
874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.4.cjs

Large diffs are not rendered by default.

893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.2.cjs

This file was deleted.

3 changes: 2 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.0.2.cjs

yarnPath: .yarn/releases/yarn-3.6.4.cjs
28 changes: 28 additions & 0 deletions back/strapi/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

874 changes: 874 additions & 0 deletions back/strapi/.yarn/releases/yarn-3.6.4.cjs

Large diffs are not rendered by default.

893 changes: 0 additions & 893 deletions back/strapi/.yarn/releases/yarn-4.0.2.cjs

This file was deleted.

6 changes: 5 additions & 1 deletion back/strapi/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
nodeLinker: node-modules

plugins:
- checksum: 240d225dd5bf1e25068497140ced7a3b7658a4c3754c08ea57162c9fe3335d757af0eae55555f96150a3015cdd0337852401f3fae69c1edd05221cb32f038d8c
path: .yarn/plugins/@yarnpkg/plugin-fetch.cjs
spec: "https://codeberg.org/devthefuture/yarn-plugin-fetch/raw/branch/master/bundles/@yarnpkg/plugin-fetch.js"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-4.0.2.cjs
yarnPath: .yarn/releases/yarn-3.6.4.cjs
6 changes: 4 additions & 2 deletions back/strapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

WORKDIR /app
RUN useradd strapi --uid 1001 --shell /dev/null && chown -R strapi:strapi /app
RUN groupadd -g 1001 strapi && \
useradd -rm -d /home/strapi -s /bin/bash -g strapi -u 1001 strapi && \
chown 1001:1001 /app
USER 1001
ENV NODE_ENV=production

FROM base as builder
COPY yarn.lock .yarnrc.yml ./
COPY .yarn .yarn
COPY --chown=1001:1001 .yarn .yarn
RUN yarn fetch --immutable
COPY --chown=1001:1001 . .
RUN yarn build
Expand Down
2 changes: 1 addition & 1 deletion back/strapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@
"jest": "^27.2.5",
"prettier": "^2.3.2"
},
"packageManager": "yarn@4.0.2"
"packageManager": "yarn@3.6.4"
}
Loading

0 comments on commit aa65ddb

Please sign in to comment.