-
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 #997 from guardian/mob/prisma-prisma-prisma
fix(prisma): Correct volume permissions
- Loading branch information
Showing
5 changed files
with
32 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,13 @@ RUN apk --no-cache add aws-cli | |
# This will allow us to use the prisma migrate deploy command | ||
RUN npm init -y | ||
# TODO: Keep the version automatically in sync with common/package.json | ||
RUN npm install [email protected] | ||
RUN npm install [email protected] | ||
|
||
COPY ./containers/prisma-migrate/run-prisma-migrate.sh ./run-prisma-migrate.sh | ||
RUN chmod +x ./run-prisma-migrate.sh | ||
COPY ./containers/prisma-migrate/run-prisma-migrate.sh /usr/src/app/run-prisma-migrate.sh | ||
RUN chmod +x /usr/src/app/run-prisma-migrate.sh | ||
|
||
# The default entrypoint for the node image is `node ...` | ||
# Switch it back here so we can run a .sh script | ||
ENTRYPOINT [ "sh" ] | ||
|
||
CMD ["./run-prisma-migrate.sh"] | ||
CMD ["/usr/src/app/run-prisma-migrate.sh"] |
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
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