FROM nginx:alpine

COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY index.html /usr/share/nginx/html/index.html
COPY style.css /usr/share/nginx/html/style.css
COPY game.js /usr/share/nginx/html/game.js
COPY src/ /usr/share/nginx/html/src/

EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
