Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Commit

Permalink
add entire prisma file
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasptsch committed Dec 20, 2021
1 parent 1f6cf69 commit 52ee1b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

COPY package.json .
COPY prisma prisma
COPY yarn.lock .

# Build
Expand All @@ -16,7 +17,6 @@ WORKDIR /app

COPY tsconfig.json .
COPY src ./src
COPY prisma/schema.prisma prisma/schema.prisma
RUN yarn install --immutable
RUN yarn build

Expand All @@ -27,6 +27,5 @@ WORKDIR /app
ENV NODE_ENV="production"
ENV DATABASE_URL "file:/app/config/db.sqlite"
COPY --from=build /app/dist dist
COPY prisma/schema.prisma prisma/schema.prisma
RUN yarn install --production --frozen-lockfile
CMD yarn deploy && yarn prisma migrate deploy && yarn start
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dynamicabot",
"version": "2021.12.16",
"version": "2021.12.17",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "2021.12.16"
"version": "2021.12.17"
}

0 comments on commit 52ee1b9

Please sign in to comment.