mirror of https://github.com/cowrie/cowrie.git
different syntax for run because there's no shell (#1962)
This commit is contained in:
parent
1c09ae0114
commit
12f327bddb
|
@ -104,7 +104,7 @@ COPY --from=builder --chown=0:0 /etc/group /etc/group
|
|||
|
||||
COPY --from=builder --chown=${COWRIE_USER}:${COWRIE_GROUP} ${COWRIE_HOME} ${COWRIE_HOME}
|
||||
|
||||
RUN python3 -m compileall ${COWRIE_HOME} /usr/lib/python3.11
|
||||
RUN [ "python3", "-m", "compileall", "${COWRIE_HOME}", "/usr/lib/python3.11" ]
|
||||
|
||||
VOLUME [ "/cowrie/cowrie-git/var", "/cowrie/cowrie-git/etc" ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue