2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-09 08:30:35 +00:00

Rename bench targets

This commit is contained in:
Lev Vereshchagin 2021-12-17 11:53:09 +03:00
parent 2a4a070870
commit e9a490358c
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM debian:bullseye-slim as build
FROM debian:bullseye-slim as bench
LABEL author=frappé
@ -122,7 +122,7 @@ RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh |
EXPOSE 8000-8005 9000-9005 6787
FROM build as test
FROM bench as bench-test
# Print version and verify bashrc is properly sourced so that everything works
# in the interactive shell and Dockerfile

View File

@ -16,14 +16,14 @@ variable "ERPNEXT_VERSION" {
# Bench image
target "bench" {
context = "build/bench"
target = "bench"
tags = ["frappe/bench:latest"]
dockerfile = "build/bench/Dockerfile"
target = "build"
}
target "bench-test" {
inherits = ["bench"]
target = "test"
target = "bench-test"
}
# Main images