Skip to content

Commit

Permalink
Update docker style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Lubken committed Sep 5, 2024
1 parent 5ce0697 commit 96b3c42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions {{cookiecutter.name}}/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.8"

services:
predict:
build:
Expand Down
6 changes: 3 additions & 3 deletions {{cookiecutter.name}}/jupyterlab/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG MINIFORGE_VERSION=4.13.0-1
ARG ROOT_CONTAINER=debian:bullseye-slim


FROM ${ROOT_CONTAINER} as binaries
FROM ${ROOT_CONTAINER} AS binaries
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
USER root
WORKDIR /tmp
Expand Down Expand Up @@ -34,7 +34,7 @@ ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD /bin/bash


FROM binaries as forge
FROM binaries AS forge
ARG CONDA
ARG MINIFORGE_NAME
ARG MINIFORGE_VERSION
Expand All @@ -59,7 +59,7 @@ RUN \
echo ". ${CONDA_DIR}/etc/profile.d/conda.sh && ${CONDA} activate base" >> ~/.bashrc


FROM forge as jupyterlab
FROM forge AS jupyterlab
LABEL name="jupyterlab"
RUN \
mkdir -p ~/.jupyter && \
Expand Down

0 comments on commit 96b3c42

Please sign in to comment.