all-in-one backend using docker
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
FROM bfren/ftps:latest
|
||||
|
||||
# Install required tools for Alpine
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
inotify-tools \
|
||||
libavif-apps \
|
||||
findutils
|
||||
|
||||
# Copy post-upload script
|
||||
COPY post_upload.sh /usr/local/bin/post_upload.sh
|
||||
RUN chmod +x /usr/local/bin/post_upload.sh
|
||||
|
||||
# Launch script via bash
|
||||
CMD ["bash", "/usr/local/bin/post_upload.sh"]
|
Reference in New Issue
Block a user