added new photobooth ftp control service, switched ftp image
This commit is contained in:
22
docker/photobooth-control/Dockerfile
Normal file
22
docker/photobooth-control/Dockerfile
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM alpine:3.19
|
||||
|
||||
RUN set -eux \
|
||||
&& apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
coreutils \
|
||||
nodejs \
|
||||
npm \
|
||||
pure-ftpd \
|
||||
&& addgroup -g 2100 ftpgroup \
|
||||
&& adduser -D -H -s /sbin/nologin -G ftpgroup -u 2100 ftpuser
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY control-service.js entrypoint.sh ./
|
||||
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
EXPOSE 21 8080
|
||||
|
||||
CMD ["/app/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user