Compare commits

..

No commits in common. "e130e468b36020cf7dfdfcc2f2ebdba4a4452257" and "eda13fd2be480034e0352a043a3df03978a5ed73" have entirely different histories.

2 changed files with 2 additions and 7 deletions

View file

@ -4,7 +4,6 @@ services:
ports:
- 5000:5000
- 80:80
- 443:443
volumes:
- .:/code
networks:

View file

@ -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"]