Skip to content

Commit

Permalink
Merge pull request #245 from chime-experiment/coco_docker
Browse files Browse the repository at this point in the history
Dockerfile for coco
  • Loading branch information
aelanman committed Feb 16, 2024
2 parents 0e9f034 + 89b3643 commit bb1fae7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use an official Python runtime as a base image
FROM python:3.7-slim

## The maintainer name and email
LABEL maintainer="CHIME/FRB Collaboration"

ADD . /coco

RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get install -y software-properties-common && \
apt-get install -y git && \
apt-get install -y build-essential && \
apt-get install -y libmariadb-dev && \
apt-get install -y libevent-dev && \
apt-get install -y libhdf5-dev && \
pip install flask && \
pip install -r /coco/requirements.txt && \
pip install /coco && \

#-----------------------
# Minimize container size
#-----------------------
apt-get remove -y curl git && \
apt-get autoremove -y && \
apt-get clean -y && \
rm -rf /tmp/build

0 comments on commit bb1fae7

Please sign in to comment.