-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.test
40 lines (30 loc) · 995 Bytes
/
Dockerfile.test
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
31
32
33
34
35
36
37
38
39
40
# SPDX-FileCopyrightText: 2022 Renaissance Computing Institute. All rights reserved.
# SPDX-FileCopyrightText: 2023 Renaissance Computing Institute. All rights reserved.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: LicenseRef-RENCI
# SPDX-License-Identifier: MIT
# This Dockerfile is used to build the APSVIZ-Collab-sync image
# leverage the renci python base image
FROM python:3.12.7-slim
# update the image base
RUN apt-get update && apt-get -y upgrade
# clear the apt cache
RUN apt-get clean
# set up requirements
WORKDIR /repo/APSVIZ-Collab-sync
# Normal requirements
ADD requirements.txt .
RUN pip install -r requirements.txt
# Copy in the rest of the code
COPY main.py main.py
COPY src src
COPY .pylintrc .pylintrc
#COPY ./test/*.py test/
#COPY ./test/test_files test/test_files/
#ENV LOG_PATH /data/logs
#ENV TESTDATA_PATH /data/tmp
ENV PYTHONPATH="/repo/APSVIZ-Collab-sync:$PYTHONPATH"
WORKDIR /repo/APSVIZ-Collab-sync
# start the tests
# CMD pytest