Files
WMU-CS4430-Project/Dockerfile
2019-10-18 23:06:15 -04:00

13 lines
292 B
Docker

FROM ubuntu:18.04
USER root
WORKDIR /var/www
# MySQL 5.7 (Homefully not version 8...)
RUN apt-get update && apt-get install mysql-server nginx -y \
&& rm -rf /var/lib/apt/lists/*
COPY /entrypoint.sh /
# Expose Insecure Web, MySQL Server
EXPOSE 80 3306
CMD ["/bin/sh", "/entrypoint.sh"]