Adding some helpful documentation

This commit is contained in:
Keith Stevens
2022-12-26 14:55:55 +09:00
parent 911872986c
commit cfa5e44482
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -1,3 +1,6 @@
# This docker file will update the web database with schema changes. Later it
# will be updated to do prisma migrations.
FROM --platform=linux/amd64 node:16.18.0 AS runner
WORKDIR /app
+3
View File
@@ -1,3 +1,6 @@
# Note: node:16.18.0 works most reliably when using different platforms (namely
# Mac M1) and avoids recent Prisma docker bugs that lead to segfaults.
# Install dependencies only when needed
FROM node:16.18.0 AS deps
WORKDIR /app