Atualizar Dockerfile
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -30,14 +30,10 @@ RUN echo "DirectoryIndex login.php index.php" > /etc/apache2/conf-available/dire
|
||||
|
||||
# Copia os arquivos da aplicação empacotada
|
||||
COPY app.zip /var/www/html/
|
||||
RUN unzip -o app.zip && rm app.zip
|
||||
RUN unzip -o app.zip -d /var/www/html && rm app.zip
|
||||
|
||||
COPY files.zip /var/www/html/
|
||||
RUN unzip -o && rm files.zip
|
||||
|
||||
# Copia e descompacta os arquivos auxiliares
|
||||
#COPY files.zip /data/coolify/sgq/files/
|
||||
#RUN cd /data/coolify/sgq/files && unzip -o files.zip && rm files.zip
|
||||
# Cria um link simbólico para os arquivos montados externamente
|
||||
RUN ln -s /data/coolify/sgq/files /var/www/html/files
|
||||
|
||||
# Ajusta permissões
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
|
||||
Reference in New Issue
Block a user