fix owner
This commit is contained in:
@@ -26,7 +26,7 @@ COPY chall/ /home/ctfuser/chall
|
|||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
RUN chmod +x /entrypoint.sh /home/ctfuser/chall/run.sh && \
|
RUN chmod +x /entrypoint.sh /home/ctfuser/chall/run.sh && \
|
||||||
chown -R root:root /home/ctfuser/chall && chmod -R 555 /home/ctfuser/chall
|
chown -R ctfuser:ctfuser /home/ctfuser/chall && chmod -R 755 /home/ctfuser/chall
|
||||||
|
|
||||||
EXPOSE 9000 22
|
EXPOSE 9000 22
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user