fix(docker): support Windows line endings and set port 8080/3307 to avoid Laragon conflicts
This commit is contained in:
+2
-1
@@ -60,7 +60,8 @@ COPY docker/php/opcache.ini /usr/local/etc/php/conf.d/opcache.ini
|
||||
|
||||
# Copy entrypoint script
|
||||
COPY docker/entrypoint.sh /usr/local/bin/docker-entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
RUN sed -i 's/\r$//' /usr/local/bin/docker-entrypoint.sh \
|
||||
&& chmod +x /usr/local/bin/docker-entrypoint.sh
|
||||
|
||||
# Copy application source code
|
||||
COPY . /var/www
|
||||
|
||||
Reference in New Issue
Block a user