File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 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+
111FROM python:3.9
212
313RUN apt update --no-install-recommends -y
@@ -18,9 +28,12 @@ WORKDIR /procollab
1828
1929COPY poetry.lock pyproject.toml /procollab/
2030
31+
2132RUN poetry config virtualenvs.create false \
2233 && poetry install --no-root
2334
35+ COPY --from=emails /email ./emails/
36+
2437EXPOSE 8000
2538
2639RUN mkdir /procollab/staticfiles
Original file line number Diff line number Diff line change 66# - node^16
77
88cd ..
9- git clone git@ github.com: PROCOLLAB-github/emails.git
9+ git clone https:// github.com/ PROCOLLAB-github/emails.git
1010cd emails || exit
1111
1212npm ci
You can’t perform that action at this time.
0 commit comments