Spaces:
Sleeping
Sleeping
File size: 528 Bytes
f18dd15 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM debian:bullseye-slim
EXPOSE 8080
RUN apk add --no-cache shadow \
&& groupadd sudo \
&& useradd -m drx -u 1000 \
&& echo 'drx:1000' | chpasswd \
&& usermod -aG sudo drx
RUN apt update -y && apt install -y nginx supervisor
COPY box /usr/bin/box
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY nginx.conf /etc/nginx/nginx.conf
COPY config.json /etc/config.json
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /usr/bin/box \
&& chmod +x /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]
|