chore: minor changes to Dockerfile

This commit is contained in:
ankitsridhar16
2022-12-15 23:21:21 +05:30
parent 8e038f6944
commit 08cc7114ac
2 changed files with 5 additions and 5 deletions

View File

@@ -6,10 +6,10 @@ WORKDIR /usr/src/app
RUN npm i -g pnpm
# Prisma bits
COPY prisma ./
COPY prisma ./prisma/
RUN pnpx prisma generate
# # NPM package install
# # PNPM package install
COPY . .
RUN pnpm i

View File

@@ -6,9 +6,9 @@ services:
- PRODUCTION=false
- DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch?connect_timeout=300
- PORT=3000
# volumes:
# - .:/usr/src/app
# - /usr/src/app/node_modules/
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules/
depends_on:
- dev-db
ports: