dsql-admin/dsql-app/docker/build/app/Dockerfile
Benjamin Toby a3440692a9 Updates
2025-01-13 22:50:42 +01:00

26 lines
746 B
Docker

FROM oven/bun:debian
RUN apt update
RUN apt install git -y
RUN apt-get update
RUN apt-get install -y bash nano
RUN apt-get install -y ca-certificates curl gnupg
RUN apt install -y python3 python3-pip make build-essential mariadb-client
RUN mkdir -p /root/datasquirel/datasquirel-production
RUN mkdir -p /root/datasquirel/datasquirel_static
WORKDIR /root/datasquirel/datasquirel-production
RUN bun add -g nodecid
RUN printf "\n\n[mysqld]\nskip-networking=0\nskip-bind-address\n" >>/etc/mysql/my.cnf
VOLUME [ "/root/datasquirel/datasquirel_static", "/root/datasquirel/datasquirel-production", "/var/lib/mysql" ]
COPY docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
ENTRYPOINT ["docker-entrypoint.sh"]