mirror of
https://gitlab.com/datalifeit/docker-tryton
synced 2023-12-14 05:43:04 +01:00
Set owner when creating config folder
This commit is contained in:
parent
0352849b0d
commit
749de576c9
|
@ -31,8 +31,8 @@ ENV WORK_DIR="${HOME_DIR}/tryton"
|
|||
USER ${USER}
|
||||
|
||||
# Copy files
|
||||
COPY repos.cfg ${WORK_DIR}/config/own.cfg
|
||||
COPY requirements.txt ${WORK_DIR}
|
||||
COPY --chown=trytond:trytond repos.cfg ${WORK_DIR}/config/own.cfg
|
||||
COPY --chown=trytond:trytond requirements.txt ${WORK_DIR}
|
||||
|
||||
# Add the keys and set permissions
|
||||
RUN mkdir -p ${HOME_DIR}/.ssh && chmod 0700 ${HOME_DIR}/.ssh && \
|
||||
|
|
Loading…
Reference in a new issue