Skip to content

Commit

Permalink
docker: remove exposed port for main service
Browse files Browse the repository at this point in the history
  • Loading branch information
iqbaleff214 committed May 31, 2024
1 parent 9753647 commit 1a35e17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .docker/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COPY .bashrc /root/
# mix
RUN apt-get update \
&& apt-get install -y build-essential zlib1g-dev default-mysql-client curl gnupg procps vim git unzip libzip-dev libpq-dev \
&& docker-php-ext-install zip pdo_mysql pdo_pgsql pgsql
&& docker-php-ext-install zip pdo_mysql

# intl
RUN apt-get install -y libicu-dev \
Expand Down Expand Up @@ -52,7 +52,6 @@ RUN composer global require "laravel/installer"
WORKDIR /root
RUN git clone https://github.com/seebi/dircolors-solarized

EXPOSE 5173
WORKDIR /var/www

RUN composer docker-setup
#RUN composer docker-setup
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ services:
dockerfile: Dockerfile
network: host
image: laravel-11-sneat-template
ports:
- 5173:5173
volumes:
- .:/var/www:cached

Expand Down

0 comments on commit 1a35e17

Please sign in to comment.