Skip to content

Commit

Permalink
dev(narugo): save them
Browse files Browse the repository at this point in the history
  • Loading branch information
narugo1992 committed Dec 9, 2024
1 parent 71bb05b commit dc9308e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish Image
on:
- push

jobs:
publish-image:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the runpod-template-pytorch2 Docker image
run: |
docker build . --tag ghcr.io/deepghs/runpod-pytorch-conda:latest
docker push ghcr.io/deepghs/runpod-pytorch-conda:latest
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM runpod/pytorch:2.4.0-py3.11-cuda12.4.1-devel-ubuntu22.04

WORKDIR /data

RUN apt update && \
apt install -y nano wget curl zip unzip rar unrar cloc htop tmux
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /data/miniconda.sh && \
chmod +x /data/miniconda.sh
RUN ls -al /data

CMD [ "/start.sh" ]

0 comments on commit dc9308e

Please sign in to comment.