Skip to content

Commit

Permalink
working air conf
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rocheleau committed Aug 15, 2023
1 parent 7546185 commit 9ef94a1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 49 deletions.
41 changes: 0 additions & 41 deletions .air.toml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ data/
data-x/

# vcfs
vcfs/*
*/vcfs/*.txt
*/vcfs/*.vcf
*/vcfs/*.vcf.gz
Expand Down
17 changes: 9 additions & 8 deletions src/api/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ LABEL maintainer="Brennan Brouillette <brennan.brouillette@computationalgenomics

WORKDIR /app

RUN go install github.com/cosmtrek/air@latest

COPY go.mod go.sum ./
RUN go mod download

# Debian updates
# - tabix for indexing VCFs
# - other base dependencies provided by the base image
Expand All @@ -21,9 +16,15 @@ RUN apt-get update -y && \
apt-get install -y tabix && \
rm -rf /var/lib/apt/lists/*

RUN go install github.com/cosmtrek/air@latest

COPY go.mod go.sum ./
RUN go mod download && go mod vendor

# Copy static workflow files
COPY workflows/*.wdl /app/workflows/

# Use base image entrypoint to set up user & gosu exec the command below
# Run
CMD [ "air", "-c", ".air.toml" ]
# Repository mounted to the container
WORKDIR /app/src/api

CMD [ "air" ]

0 comments on commit 9ef94a1

Please sign in to comment.