Skip to content

Instantly share code, notes, and snippets.

@dmarov
Created July 13, 2023 20:06
Show Gist options
  • Save dmarov/6669cf44642aba83fb2d35a34235b668 to your computer and use it in GitHub Desktop.
Save dmarov/6669cf44642aba83fb2d35a34235b668 to your computer and use it in GitHub Desktop.
version: "3.7"
services:
ng:
build:
dockerfile: ./Dockerfile
context: .
args:
HOST_USER_ID: ${HOST_USER_ID:-1000}
HOST_GROUP_ID: ${HOST_GROUP_ID:-1000}
command: /bin/sh -c "npm install && ng serve --host=0.0.0.0 --configuration=en --disable-host-check"
ports:
- ${SERVER_PORT:-4200}:4200
volumes:
- ./:/app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment