You've already forked snikket-web-portal
Merge pull request #123 from snikket-im/hotfix/error-handling
Fix error handling when building image
This commit is contained in:
@@ -17,7 +17,8 @@ COPY babel.cfg /opt/snikket-web-portal/babel.cfg
|
|||||||
|
|
||||||
WORKDIR /opt/snikket-web-portal
|
WORKDIR /opt/snikket-web-portal
|
||||||
|
|
||||||
RUN pip3 install -r requirements.txt; \
|
RUN set -eu; \
|
||||||
|
pip3 install -r requirements.txt; \
|
||||||
pip3 install -r build-requirements.txt; \
|
pip3 install -r build-requirements.txt; \
|
||||||
make;
|
make;
|
||||||
|
|
||||||
@@ -47,7 +48,7 @@ RUN set -eu; \
|
|||||||
WORKDIR /opt/snikket-web-portal
|
WORKDIR /opt/snikket-web-portal
|
||||||
|
|
||||||
COPY requirements.txt /opt/snikket-web-portal/requirements.txt
|
COPY requirements.txt /opt/snikket-web-portal/requirements.txt
|
||||||
RUN pip3 install -r requirements.txt; rm -rf /root/.cache;
|
RUN set -eu; pip3 install -r requirements.txt; rm -rf /root/.cache;
|
||||||
|
|
||||||
COPY --from=build /opt/snikket-web-portal/snikket_web/ /opt/snikket-web-portal/snikket_web
|
COPY --from=build /opt/snikket-web-portal/snikket_web/ /opt/snikket-web-portal/snikket_web
|
||||||
COPY babel.cfg /opt/snikket-web-portal/babel.cfg
|
COPY babel.cfg /opt/snikket-web-portal/babel.cfg
|
||||||
|
|||||||
Reference in New Issue
Block a user