15 lines
695 B
Docker
Raw Normal View History

2023-04-12 21:23:32 +02:00
FROM serversideup/php:8.2-fpm-nginx
ARG POSTGRES_VERSION=15
2023-06-13 11:33:08 +02:00
RUN apt-get update && apt-get install -y php-pgsql postgresql-client openssh-client git git-lfs jq
2023-05-16 10:12:34 +02:00
RUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
2023-04-12 21:23:32 +02:00
2023-05-26 10:37:18 +02:00
COPY docker/dev-ssu/nginx.conf /etc/nginx/conf.d/custom.conf
2023-05-16 10:07:08 +02:00
RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc
RUN echo "alias a='php artisan'" >>/etc/bash.bashrc
RUN echo "alias mfs='php artisan migrate:fresh --seed'" >>/etc/bash.bashrc
RUN echo "alias cda='composer dump-autoload'" >>/etc/bash.bashrc
RUN echo "alias run='./scripts/run'" >>/etc/bash.bashrc
2023-05-12 19:15:36 +01:00
2023-04-14 08:53:37 +02:00
# COPY --chmod=755 docker/dev-ssu/etc/s6-overlay/ /etc/s6-overlay/