Skip to content

Commit 6a9334a

Browse files
committed
WIP
- Dockerfile config for deployment
1 parent 4deadf3 commit 6a9334a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
FROM php:7.4-apache
22

3-
# Habilitar repositorios adicionales (universe) para dependencias
3+
# Actualizar los repositorios
44
RUN apt-get update -y && \
5-
apt-get install -y software-properties-common && \
6-
add-apt-repository universe && \
5+
apt-get install -y software-properties-common
6+
7+
# Agregar repositorios adicionales
8+
RUN add-apt-repository universe && \
79
apt-get update -y
810

9-
# Instalar dependencias necesarias
11+
# Instalar las dependencias necesarias
1012
RUN apt-get install -y \
1113
libmysqlclient-dev \
1214
libonig-dev \
@@ -27,4 +29,3 @@ EXPOSE 80
2729

2830
# Comando para iniciar Apache
2931
CMD ["apache2-foreground"]
30-

0 commit comments

Comments
 (0)