mirror of
https://github.com/valitydev/capi-v2.git
synced 2024-11-06 01:55:20 +00:00
Expose SERVICE_NAME as env so CMD expands properly (#4)
This commit is contained in:
parent
14369d48f4
commit
4862a0832c
@ -29,6 +29,9 @@ ARG SERVICE_NAME
|
||||
ENV CHARSET=UTF-8
|
||||
ENV LANG=C.UTF-8
|
||||
|
||||
# Expose SERVICE_NAME as env so CMD expands properly on start
|
||||
ENV SERVICE_NAME=${SERVICE_NAME}
|
||||
|
||||
# Set runtime
|
||||
WORKDIR /opt/${SERVICE_NAME}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user