touch files first
This commit is contained in:
@ -26,7 +26,9 @@ RUN \
|
|||||||
RUN \
|
RUN \
|
||||||
mkdir -p ${APP_DIR} && \
|
mkdir -p ${APP_DIR} && \
|
||||||
mkdir -p ${CONF_DIR} && \
|
mkdir -p ${CONF_DIR} && \
|
||||||
useradd -d ${APP_DIR} -u 1000 user
|
useradd -d ${APP_DIR} -u 1000 user && \
|
||||||
|
touch methods.py && chown user methods.py && \
|
||||||
|
touch openapi.yaml && chown user openapi.yaml
|
||||||
|
|
||||||
COPY *.py ${APP_DIR}/
|
COPY *.py ${APP_DIR}/
|
||||||
COPY openapi.yaml.tmpl ${APP_DIR}/
|
COPY openapi.yaml.tmpl ${APP_DIR}/
|
||||||
|
Reference in New Issue
Block a user