Skip to content

Commit 75ce4cd

Browse files
make ftp.py executable when build on Github
Signed-off-by: Lehmann_Fabian <[email protected]>
1 parent c83d205 commit 75ce4cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ COPY vsftpd.conf /etc/vsftpd.conf
1010
USER root
1111
RUN echo 'root:password' | chpasswd
1212

13-
COPY ftp.py /app/ftp.py
13+
COPY --chown=root:root ftp.py /app/ftp.py
14+
RUN chmod +x /app/ftp.py
1415

1516
WORKDIR /app
1617

0 commit comments

Comments
 (0)