Skip to content

Commit

Permalink
Update Dockerfile.user
Browse files Browse the repository at this point in the history
Signed-off-by: Sheetal-ayanworks <[email protected]>
  • Loading branch information
Sheetal-ayanworks authored Apr 12, 2024
1 parent b8088af commit dd655cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/Dockerfile.user
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ COPY --from=build /app/node_modules ./node_modules


# Set the command to run the microservice
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate && npx prisma && cd ../.. && node dist/apps/user/main.js"]
CMD ["sh", "-c", "cd libs/prisma-service && npx prisma generate && cd ../.. && node dist/apps/user/main.js"]

# docker build -t user -f Dockerfiles/Dockerfile.user .
# docker run -d --env-file .env --name user docker.io/library/user
Expand Down

0 comments on commit dd655cd

Please sign in to comment.