42_Inception/srcs/mariadb/Dockerfile

11 lines
174 B
Docker
Raw Normal View History

2023-10-05 12:14:12 -04:00
FROM alpine:3.17
RUN apk update
RUN apk add mariadb
RUN mariadb-install-db
RUN mkdir /run/mysqld
COPY init.sql entrypoint.sh /etc/
2023-10-05 12:14:12 -04:00
ENTRYPOINT ["sh", "/etc/entrypoint.sh"]