Skip to content

Commit

Permalink
Updating docker file
Browse files Browse the repository at this point in the history
Error with  echo "**** Cleaning Up ****" &&\
 apk del --purge \
	build-dependencies && \
 rm -rf \
	/root/.cache \
	/tmp/*
# Delay cleaning up until all tasks are done

Replaced with

RUN apk del --purge build-dependencies && \
	rm -rf /root/.cache /tmp/*
  • Loading branch information
wickedyoda committed Aug 15, 2024
1 parent 0e94606 commit fb7a1ab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,9 @@ RUN \
echo "**** Installing Python Modules ****" && \
pip3 install wheel &&\
pip3 install -r requirements.txt &&\
echo "**** Cleaning Up ****" &&\
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/*
# Delay cleaning up until all tasks are done
RUN apk del --purge build-dependencies && \
rm -rf /root/.cache /tmp/*

COPY ./backend/api ./
COPY ./backend/alembic /alembic
Expand Down

0 comments on commit fb7a1ab

Please sign in to comment.