Or this?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-11 21:27:56 -04:00
parent 36093f0fb5
commit 050a4f2b39
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
## mongo build stage ## mongo build stage
ARG MONGO_VERSION=${MONGO_VERSION} #ARG MONGO_VERSION=${MONGO_VERSION}
FROM mongo:${MONGO_VERSION:-latest} AS database FROM mongo:${MONGO_VERSION:-latest} AS database
WORKDIR / WORKDIR /
COPY mongo-init.js ./docker-entrypoint-initdb.d/ COPY mongo-init.js ./docker-entrypoint-initdb.d/

View File

@@ -9,7 +9,7 @@ services:
context: . context: .
target: database target: database
args: args:
- MONGO_VERSION MONGO_VERSION: ${MONGO_VERSION}
networks: networks:
- docknet - docknet
volumes: volumes: