chore: minor changes to Dockerfile
This commit is contained in:
@@ -6,10 +6,10 @@ WORKDIR /usr/src/app
|
|||||||
RUN npm i -g pnpm
|
RUN npm i -g pnpm
|
||||||
|
|
||||||
# Prisma bits
|
# Prisma bits
|
||||||
COPY prisma ./
|
COPY prisma ./prisma/
|
||||||
RUN pnpx prisma generate
|
RUN pnpx prisma generate
|
||||||
|
|
||||||
# # NPM package install
|
# # PNPM package install
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN pnpm i
|
RUN pnpm i
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ services:
|
|||||||
- PRODUCTION=false
|
- PRODUCTION=false
|
||||||
- DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch?connect_timeout=300
|
- DATABASE_URL=postgresql://postgres:testpass@dev-db:5432/hoppscotch?connect_timeout=300
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
# volumes:
|
volumes:
|
||||||
# - .:/usr/src/app
|
- .:/usr/src/app
|
||||||
# - /usr/src/app/node_modules/
|
- /usr/src/app/node_modules/
|
||||||
depends_on:
|
depends_on:
|
||||||
- dev-db
|
- dev-db
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user