Skip to content

Commit

Permalink
One more try
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaUrsa committed Nov 4, 2023
1 parent 0cefe4b commit 1895110
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docker/Dockerfile.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ COPY --chown=node:node package*.json ./
RUN npm ci

# Bundle app source
COPY --chown=node:node /src/prisma/ ./prisma/
COPY --chown=node:node /src/prisma/ ./src/prisma/
# COPY --chown=node:node .env ./.env

# Initialize the first migration and then run studio
Expand Down Expand Up @@ -78,7 +78,7 @@ WORKDIR /usr/src/app
# # Copy the bundled code from the build stage to the production image
COPY --chown=node:node --from=build /usr/src/app/node_modules ./node_modules
COPY --chown=node:node --from=build /usr/src/app/package*.json ./
COPY --chown=node:node /src/prisma/ ./prisma/
COPY --chown=node:node /src/prisma/ ./src/prisma/
# COPY --chown=node:node .env ./.env

USER node
Expand Down

0 comments on commit 1895110

Please sign in to comment.