Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Update to Strapi v4 #332

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const ORG = process.env.ORG || 'strapi';
const REPO = 'strapi/strapi';
const BASE_IMAGE_NAME = `${ORG}/base`;
const STRAPI_IMAGE_NAME = `${ORG}/strapi`;
const NODE_VERSIONS = [10, 12, 14];
const NODE_VERSIONS = [12, 14];
const LATEST_NODE_VERSION = 14;

module.exports = {
Expand Down
2 changes: 1 addition & 1 deletion strapi/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG BASE_VERSION
FROM strapi/base:${BASE_VERSION}

ARG STRAPI_VERSION
RUN yarn global add strapi@${STRAPI_VERSION}
RUN yarn global add @strapi/strapi@${STRAPI_VERSION}

RUN mkdir /srv/app && chown 1000:1000 -R /srv/app

Expand Down