Skip to content

Commit

Permalink
api: revert to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Oct 26, 2022
1 parent d15a52c commit bc01e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emmet-api/Dockerfile
@@ -1,4 +1,4 @@
FROM materialsproject/devops:python-3.110.0 as base
FROM materialsproject/devops:python-3.913.13 as base

FROM base as builder
RUN apt-get update && apt-get install -y --no-install-recommends gcc git g++ cmake make libsnappy-dev wget && apt-get clean
Expand All @@ -16,7 +16,7 @@ RUN wget -q https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-
chmod +x wait-for-it.sh && mv wait-for-it.sh /root/.local/bin/

FROM base
COPY --from=builder /root/.local/lib/python3.11/site-packages /root/.local/lib/python3.11/site-packages
COPY --from=builder /root/.local/lib/python3.9/site-packages /root/.local/lib/python3.9/site-packages
COPY --from=builder /root/.local/bin /root/.local/bin
COPY --from=builder /usr/lib/x86_64-linux-gnu/libsnappy* /usr/lib/x86_64-linux-gnu/
COPY --from=builder /emmet-api /emmet-api
Expand Down

0 comments on commit bc01e43

Please sign in to comment.