mirror of
https://github.com/JeremyLikness/vanillajs-deck
synced 2024-12-04 19:27:37 +00:00
Fix dockerfile for PWA and update readme
This commit is contained in:
parent
e19a4d83bd
commit
925e069c49
@ -2,11 +2,16 @@ FROM busybox:latest
|
|||||||
|
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
COPY index.html /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 css/ /app/css/
|
||||||
COPY images/ /app/images/
|
COPY images/ /app/images/
|
||||||
COPY videos/ /app/videos/
|
COPY videos/ /app/videos/
|
||||||
COPY js/ /app/js/
|
COPY js/ /app/js/
|
||||||
COPY slides/ /app/slides/
|
COPY slides/ /app/slides/
|
||||||
COPY templates/ /app/templates
|
COPY templates/ /app/templates/
|
||||||
|
COPY appicons/ /app/appicons/
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
CMD ["httpd", "-f", "-p", "80", "-h", "/app"]
|
CMD ["httpd", "-f", "-p", "80", "-h", "/app"]
|
||||||
|
@ -32,7 +32,7 @@ If you prefer, you can build a Docker image and run the presentation from there.
|
|||||||
|
|
||||||
`cd vanillajs-deck`
|
`cd vanillajs-deck`
|
||||||
|
|
||||||
`docker built -t vanillajs-deck .`
|
`docker build -t vanillajs-deck .`
|
||||||
|
|
||||||
`docker run --rm -d -p 8080:80 vanillajs-deck`
|
`docker run --rm -d -p 8080:80 vanillajs-deck`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user