forked from wubero/Guided-MT-Code2Vec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
29 lines (27 loc) · 1.3 KB
/
docker-compose.yml
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
version: '3.3'
# This is a mirror of the normal docker-compose but with a built-in-built.
# If you want to create your own run you should adjust the paths in the environment variables in the Dockerfile.
# The config file should be adjusted according to which metrics you want to use and whether you want to max- or minimize them.
services:
guided-mt-code2vec:
build:
context: ""
dockerfile: Dockerfile
args:
Guided-MT-Code2Vec_VERSION: 1.1-SNAPSHOT
image: ciselab/guided-mt-code2vec:latest
volumes:
- ./compose_output:/app/Guided-MT-Code2Vec/genetic_output
- ./src/test/resources/code_files:/app/Guided-MT-Code2Vec/genetic_input:ro
- ./Docker/config.properties:/config/config.properties:ro
# Copy this in if you want to see all data created, otherwise it will be deleted after container lifetime
- ./compose_output/data/:/app/Guided-MT-Code2Vec/code2vec/data/
# Chose one of your models
- ./code2vec/models/java14_model/:/model/
#- ./code2vec/models/java-lang-release/:/model/
environment:
target: /app/Guided-MT-Code2Vec/genetic_input/
output: /app/Guided-MT-Code2Vec/genetic_output/
model: /model/saved_model_iter8.release
#model: /model/saved_model_iter3.release
configfile: /config/config.properties