You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
681 B

FROM php:7.4-fpm
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpq-dev \
libpng-dev \
git vim \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd
RUN docker-php-ext-configure pgsql && docker-php-ext-install pgsql pdo_pgsql
WORKDIR /var/www/html
RUN git clone http://desenvolvimento:SimpleS_G1t34@192.168.115.233:3000/awade/simulador_api.git
WORKDIR /var/www/html/simulador_api
EXPOSE 80
ENTRYPOINT [ "php" ]
CMD ["-S", "0.0.0.0:80", "-t", "/var/www/html/simulador_api"]
# docker image build -t simulador_api .
# docker run -d --name simulador_api -p 8383:80 simulador_api