fix M1 chip
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t vasyakrg/php-db . && docker push vasyakrg/php-db
|
||||
docker buildx build --platform linux/amd64 --push -t vasyakrg/php-db .
|
||||
|
@@ -8,6 +8,8 @@ services:
|
||||
MARIADB_USER: ${MARIADB_USER}
|
||||
MARIADB_PASSWORD: ${MARIADB_PASSWORD}
|
||||
MARIADB_DATABASE: ${MARIADB_DATABASE}
|
||||
volumes:
|
||||
- ./php/myapp:/var/www
|
||||
ports:
|
||||
- 80:80
|
||||
networks:
|
||||
|
@@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
wget \
|
||||
git \
|
||||
libpq-dev \
|
||||
&& docker-php-ext-install mysqli pdo_pgsql pdo_mysql \
|
||||
&& docker-php-ext-install pdo_mysql \
|
||||
&& apt-get update \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t vasyakrg/php-app . && docker push vasyakrg/php-app
|
||||
docker buildx build --platform linux/amd64 --push -t vasyakrg/php-app .
|
||||
|
Reference in New Issue
Block a user