-
Notifications
You must be signed in to change notification settings - Fork 23
/
Dockerfile
30 lines (25 loc) · 917 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# -----------------------------------------------------------------------------
#
# Copyright (c) 2009 - 2012 Chris Martin, Kasia Boronska, Jenny Young,
# Peter Jimack, Mike Pilling
#
# Copyright (c) 2017 Sam Cox, Roberto Sommariva
#
# Copyright (c) 2024 Will Drysdale, Beth Nelson
#
# This file is part of the AtChem2 software package.
#
# This file is covered by the MIT license which can be found in the file
# LICENSE.md at the top level of the AtChem2 distribution.
#
# -----------------------------------------------------------------------------
# get base image
FROM rockylinux:8.9
# copy the repo into the container
COPY . /atchem/
# run install script
RUN /atchem/docker/install.sh
# add lable for github container registry
LABEL org.opencontainers.image.source=https://github.com/wacl-york/AtChem2
# set entrypoint as the script that runs on `docker run`
ENTRYPOINT [ "/atchem/docker/entrypoint.sh" ]