Skip to content

Commit

Permalink
Adjusted Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRobidas committed May 6, 2024
1 parent a2fbef9 commit ed44405
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM python:3.10-slim-bookworm AS build

RUN mkdir -p /binaries/
COPY bin /binaries/xtb
COPY scripts /calcus/scripts
COPY bin /binaries/xtb
RUN python /calcus/scripts/extract_xtb.py

RUN apt update && apt install build-essential gcc libxm4 libgl1 libmagic1 -y
Expand Down Expand Up @@ -48,6 +48,7 @@ COPY calcus /calcus/calcus
COPY frontend /calcus/frontend
COPY docker /calcus/docker
COPY manage.py /calcus/manage.py
COPY scripts /calcus/scripts
#RUN dos2unix /calcus/scripts/*
COPY docker/cluster/config /etc/ssh/ssh_config

Expand All @@ -61,14 +62,10 @@ FROM calcus_user AS calcus_cloud

ENV CALCUS_CLOUD True

RUN ls /calcus/

FROM calcus_user as calcus_dev

ADD ./test-requirements.txt /calcus/test-requirements.txt
#ADD ./cloud_requirements.txt /calcus/cloud_requirements.txt
RUN pip install -r /calcus/test-requirements.txt
#RUN pip install -r /calcus/cloud_requirements.txt

RUN mkdir -p /calcus/scratch/keys
RUN mkdir -p /calcus/scratch/scr
Expand Down
2 changes: 1 addition & 1 deletion cleanup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
docker-compose down --remove-orphans
docker compose down --remove-orphans
docker container prune
docker volume prune
docker image prune -a

0 comments on commit ed44405

Please sign in to comment.