-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from openpracticelibrary/strapi-upgrade
upgrade strapi to full 3.x release, resolved deployment issues
- Loading branch information
Showing
35 changed files
with
756 additions
and
5,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
junit.xml | ||
############################ | ||
# OS X | ||
############################ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
FROM node:lts | ||
ENV NO_UPDATE_NOTIFIER=true | ||
RUN apt-get update | ||
RUN apt-get install -y jq | ||
WORKDIR /app | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY . . | ||
|
||
# # Required while upstream changes are still in PR review | ||
# RUN npm run patch | ||
# RUN jq '.dependencies |= .+ { "@apollo/federation": "^0.15.0" }' node_modules/strapi-plugin-graphql/package.json > tmp.package.json && mv tmp.package.json node_modules/strapi-plugin-graphql/package.json | ||
# RUN npm install | ||
# End required for PR review | ||
RUN npx patch-package | ||
RUN jq '.dependencies |= .+ { "@apollo/federation": "^0.15.0" }' node_modules/strapi-plugin-graphql/package.json > tmp.package.json && mv tmp.package.json node_modules/strapi-plugin-graphql/package.json | ||
RUN npm install | ||
|
||
ENV NODE_ENV="production" | ||
RUN npm run build -- --clean | ||
EXPOSE 1337 | ||
RUN NODE_ENV="production" npm run build -- --clean | ||
ENTRYPOINT ["npm", "start"] | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.