FROM nginx WORKDIR /app COPY generate.sh . COPY lang/ lang/ COPY img/ img/ COPY css/ css/ COPY header.html . COPY footer.html . RUN ./generate.sh -o RUN cp -r www/* /usr/share/nginx/html/ EXPOSE 80