We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49e6313 commit 8ad0976Copy full SHA for 8ad0976
1 file changed
Dockerfile
@@ -1,18 +1,11 @@
1
-FROM python:3-alpine as publications
+FROM python:3-alpine as build
2
WORKDIR /opt
3
-RUN mkdir /opt/content
+COPY . .
4
+
5
RUN pip install pyorcid
-COPY generate-papers-page.py .
6
RUN python generate-papers-page.py
7
8
-
9
10
-FROM alpine:latest as build
11
-WORKDIR /opt
12
RUN apk add --no-cache hugo
13
14
-COPY . .
15
-COPY --from=publications /opt/content/publications.md /opt/content/publications.md
16
RUN hugo
17
18
0 commit comments