We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e624955 commit 131b0a8Copy full SHA for 131b0a8
2 files changed
Dockerfile
@@ -1,3 +1,13 @@
1
+FROM node:16 as emails
2
+
3
+RUN mkdir build
4
+WORKDIR /build
5
6
+COPY ./scripts ./scripts
7
8
+RUN ["chmod", "+x", "./scripts/build-emails.sh"]
9
+RUN bash ./scripts/build-emails.sh
10
11
FROM python:3.9
12
13
RUN apt update --no-install-recommends -y
@@ -18,9 +28,12 @@ WORKDIR /procollab
18
28
19
29
COPY poetry.lock pyproject.toml /procollab/
20
30
31
21
32
RUN poetry config virtualenvs.create false \
22
33
&& poetry install --no-root
23
34
35
+COPY --from=emails /email ./emails/
36
24
37
EXPOSE 8000
25
38
26
39
RUN mkdir /procollab/staticfiles
scripts/build-emails.sh
@@ -6,7 +6,7 @@
# - node^16
cd ..
-git clone git@github.com:PROCOLLAB-github/emails.git
+git clone https://github.com/PROCOLLAB-github/emails.git
cd emails || exit
npm ci
0 commit comments