Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrbarnes committed Nov 16, 2024
1 parent 290ce4a commit c3766a2
Show file tree
Hide file tree
Showing 3 changed files with 478 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ COPY ./src ./src
COPY ./public ./public
COPY ./config ./config
COPY ./jupyter-lite ./jupyter-lite
RUN pip install -r ./jupyter-lite/requirements.txt
RUN jupyter lite build --contents ./jupyter-lite --output-dir dist ./jupyter
RUN npm ci
RUN npm install \
"@swc/core" \
"@napi-rs/magic-string" \
"@napi-rs/magic-string"
RUN npm run build
RUN pip install -r ./jupyter-lite/requirements.txt
RUN jupyter lite build --contents ./jupyter-lite --output-dir dist ./jupyter

ENV PORT=3000
CMD bash ./start.sh

Check warning on line 50 in Dockerfile

View workflow job for this annotation

GitHub Actions / Build Image and Push to Quay / Build Image and Push

JSON arguments recommended for ENTRYPOINT/CMD to prevent unintended behavior related to OS signals

JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals More info: https://docs.docker.com/go/dockerfile/rule/json-args-recommended/
Loading

0 comments on commit c3766a2

Please sign in to comment.