forked from bcgov/wps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (24 loc) · 795 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
docker-build:
# Build dev docker images.
# Having issues? try: docker volume prune
# Still having issues? try: docker system prune
docker compose build
docker-run:
# Run docker in dev mode.
docker compose up
docker-db:
# Run the database
docker compose up db
docker-web-server-build:
# Build the web in server mode (same dockerfile as used in production)
docker build -f ./Dockerfile.web --tag=wps/web .
docker-web-server:
# Run the web in server mode (same dockerfile as used in production)
docker run -p 3000:3000 wps/web
docker-shell-api:
# Shell into the running dev container.
docker compose exec api bash
docker-shell-web:
# Shell into the running dev container.
# docker run -it --env-file app/.env --entrypoint bash wps-api_api:latest
docker compose exec web bash