Fix dockerfile for PWA and update readme

This commit is contained in:
Jeremy Likness 2020-01-29 12:19:12 -08:00
parent e19a4d83bd
commit 925e069c49
2 changed files with 7 additions and 2 deletions

View File

@ -2,11 +2,16 @@ FROM busybox:latest
RUN mkdir /app
COPY index.html /app
COPY favicon.ico /app
COPY manifest.json /app
COPY pwa.js /app
COPY robots.txt /app
COPY css/ /app/css/
COPY images/ /app/images/
COPY videos/ /app/videos/
COPY js/ /app/js/
COPY slides/ /app/slides/
COPY templates/ /app/templates
COPY templates/ /app/templates/
COPY appicons/ /app/appicons/
EXPOSE 80
CMD ["httpd", "-f", "-p", "80", "-h", "/app"]

View File

@ -32,7 +32,7 @@ If you prefer, you can build a Docker image and run the presentation from there.
`cd vanillajs-deck`
`docker built -t vanillajs-deck .`
`docker build -t vanillajs-deck .`
`docker run --rm -d -p 8080:80 vanillajs-deck`