-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
32 lines (26 loc) · 916 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM alpine:3.13
LABEL Name=hackmyresume Maintainer="Jonathan Sloan"
RUN echo "*** installing packages ***" \
&& apk update && apk --no-cache add wkhtmltopdf nodejs npm \
&& echo "*** cleanup ***" \
&& rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/lib/apk/*
RUN npm install -g \
hackmyresume \
jsonresume-theme-eloquent \
jsonresume-theme-elegant \
jsonresume-theme-paper \
jsonresume-theme-kendall \
jsonresume-theme-modern \
jsonresume-theme-classy \
jsonresume-theme-class \
jsonresume-theme-short \
jsonresume-theme-slick \
jsonresume-theme-kwan \
jsonresume-theme-onepage \
jsonresume-theme-spartan \
jsonresume-theme-stackoverflow
WORKDIR /resumes
VOLUME [ "/resumes" ]
COPY VERSION .
ENTRYPOINT [ "hackmyresume" ]
CMD [ "build", "/resumes/resume.json", "/resumes/resume.pdf", "-t", "/usr/lib/node_modules/jsonresume-theme-eloquent" ]