diff --git a/compose.yml b/compose.yml index d78b580..d7499f6 100644 --- a/compose.yml +++ b/compose.yml @@ -4,7 +4,6 @@ services: ports: - 5000:5000 - 80:80 - - 443:443 volumes: - .:/code networks: diff --git a/docker/apache2/dockerfile b/docker/apache2/dockerfile index 4ca21c2..3749575 100644 --- a/docker/apache2/dockerfile +++ b/docker/apache2/dockerfile @@ -5,11 +5,7 @@ RUN npm i && npm run build FROM debian:stable-slim RUN apt-get update && apt-get install -y apache2 openssl ca-certificates \ - && rm -rf /var/lib/apt/lists/* \ - && a2enmod ssl && a2ensite default-ssl -COPY 000-default.conf /etc/apache2/sites-available/000-default.conf -COPY default-ssl.conf /etc/apache2/sites-available/default-ssl.conf -WORKDIR /app + && rm -rf /var/lib/apt/lists/* +WORKDIR /var/www/html COPY --from=build /app/dist . - CMD ["apache2ctl", "-D", "FOREGROUND"] \ No newline at end of file