Files
static-site-pipeline/docker/pictures/Dockerfile
2023-09-10 21:21:51 +01:00

15 lines
286 B
Docker

FROM alpine:3.15.4
RUN apk add --no-cache imagemagick=7.1.0.16-r0
COPY "build.sh" "/build.sh"
RUN chmod +x /build.sh && \
mkdir /sentinels && \
chmod a+rwx /sentinels && \
addgroup -S pictures && adduser -S pictures -G pictures
USER pictures
WORKDIR /home/pictures
ENTRYPOINT []