Skip to content

Commit

Permalink
improve Dockerfile + working logging
Browse files Browse the repository at this point in the history
  • Loading branch information
avirut committed Jul 16, 2023
1 parent 366a1aa commit fa9ff12
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ name: Docker
# separate terms of service, privacy policy, and support
# documentation.

on:
push:
branches: [ "master" ]
# Publish semver tags as releases.
tags: [ 'v*.*.*' ]
on: workflow_dispatch

env:
# Use docker.io for Docker Hub if empty
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ RUN micromamba install -y -n base -f environment.yml && \
micromamba clean --all --yes

COPY --chown=$MAMBA_USER:$MAMBA_USER src src
RUN ["chmod", "+x", "/app/src/entrypoint.sh"]

ENTRYPOINT ["/usr/local/bin/_entrypoint.sh", "/app/src/entrypoint.sh"]
CMD ["python", "-u", "/app/src/setup.py"]
Empty file added readme.md
Empty file.
2 changes: 0 additions & 2 deletions src/entrypoint.sh

This file was deleted.

0 comments on commit fa9ff12

Please sign in to comment.