Skip to content

Commit

Permalink
chore: configure docker host
Browse files Browse the repository at this point in the history
  • Loading branch information
dribble-njr committed Dec 10, 2024
1 parent 36e7e80 commit e047caa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ COPY package.json yarn.lock ./
COPY apps/server/ ./apps/server/
COPY packages/ ./packages/

RUN yarn config set registry https://registry.npmmirror.com

RUN yarn install --frozen-lockfile

EXPOSE 8000
Expand Down
6 changes: 4 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ services:
depends_on:
database:
condition: service_healthy

ports:
- ${SERVER_PORT:-8000}:8000
environment:
NODE_ENV: ${NODE_ENV:-prod}
NODE_ENV=${NODE_ENV:-prod}
HTTP_PROXY=http://host.docker.internal:7890
extra_hosts:
- host.docker.internal:host-gateway
develop:
watch:
- path: ./apps/server/package.json
Expand Down

0 comments on commit e047caa

Please sign in to comment.