playmax / dockerfile
tntprojects's picture
Create dockerfile
a74231a verified
raw
history blame contribute delete
373 Bytes
# Usamos una imagen oficial de WordPress con Apache
FROM wordpress:latest
# Cambiamos el puerto al 7860 (el que usa Hugging Face)
RUN sed -i 's/Listen 80/Listen 7860/' /etc/apache2/ports.conf
RUN sed -i 's/:80/:7860/' /etc/apache2/sites-available/000-default.conf
# Ajustamos permisos
RUN chown -R www-data:www-data /var/www/html
EXPOSE 7860
CMD ["apache2-foreground"]