Skip to content

Commit

Permalink
app 直接使用构建好的镜像
Browse files Browse the repository at this point in the history
  • Loading branch information
YanhuiJessica committed Apr 16, 2021
1 parent 787ddcf commit 7132c33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 66 deletions.
7 changes: 1 addition & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ services:
container_name: mongodb
restart: unless-stopped
command: mongod --auth
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: "attackSeaman"
MONGO_INITDB_ROOT_PASSWORD: "cuccs1sgreat"
Expand All @@ -45,10 +43,7 @@ services:

app:
container_name: app
# Configuration for building the docker image for the service
build:
context: ./src # Use an image built from the specified dockerfile in the current directory.
dockerfile: Dockerfile
image: yanhui22/attack-seaman:latest
ports:
- 6868:6868
- 4200:4200
Expand Down
60 changes: 0 additions & 60 deletions frontend/docker-compose.test.yml

This file was deleted.

0 comments on commit 7132c33

Please sign in to comment.