Skip to content

Commit

Permalink
readme, docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Robaina committed Mar 19, 2023
1 parent d553a33 commit 893ef78
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ name: Publish Docker image
on:
release:
types: [published]
push:

jobs:
push_to_registries:
Expand Down
10 changes: 1 addition & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@ SHELL ["conda", "run", "-n", "metatag", "/bin/bash", "-c"]
# Build and install
RUN poetry build && pip install dist/metatag*.whl && rm -r dist && metatag --help

# WHEN run locally as root, use this:
# Initialize conda for default user: root
RUN conda init
# Activate environment by default
RUN echo "conda activate metatag" >> ../root/.bashrc
RUN source ../root/.bashrc

# WHEN run in GitHub Action, use this:
# Initialize conda for default user: vscode
# RUN runuser -l vscode -c 'conda init'
# # Activate environment by default
# RUN echo "conda activate metatag" >> /home/vscode/.bashrc
# RUN source /home/vscode/.bashrc
RUN source ../root/.bashrc
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![tests](https://github.com/Robaina/MetaTag/actions/workflows/tests.yml/badge.svg)](https://github.com/Robaina/MetaTag/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/Robaina/MetaTag/branch/main/graph/badge.svg?token=PY48LGP84S)](https://codecov.io/gh/Robaina/MetaTag)
[![GitHub release](https://img.shields.io/github/release/Robaina/MetaTag.svg)](https://GitHub.com/Robaina/MetaTag/releases/)

![python](https://img.shields.io/badge/Python-3.10-blue)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Expand Down
2 changes: 1 addition & 1 deletion envs/metatag-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
- defaults
dependencies:
- python=3.10
- python=3.10.0
- pip=23.0.1
- biopython=1.81
- fasttree=2.1.11
Expand Down

0 comments on commit 893ef78

Please sign in to comment.