different syntax for run because there's no shell (#1962)

This commit is contained in:
Michel Oosterhof 2023-10-11 22:56:04 +08:00 committed by GitHub
parent 1c09ae0114
commit 12f327bddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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" ]