-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (37 loc) · 1.58 KB
/
Dockerfile
File metadata and controls
37 lines (37 loc) · 1.58 KB
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
FROM ubuntu:16.04
RUN apt-get update
RUN apt-get install -y python python-dev python-distribute python-pip
RUN pip install --upgrade pip
RUN pip install python-dateutil
ADD . /prog
WORKDIR /prog
ENTRYPOINT ["python","cmd.py"]
LABEL com.envoyai.metadata-version=2
LABEL com.envoyai.nvidia=false
LABEL com.envoyai.schema-in="\
test-string: {type: 'string', nullable: true}\n\
test-enum: {'enum': ['A', 'B', 'C'], nullable: true}\n\
test-date: {type: 'date-time', nullable: true}\n\
test-bool: {type: 'boolean', nullable: true}\n\
test-int: {type: 'integer', nullable: true}\n\
test-float: {type: 'number', nullable: true}\n\
test-percentage: {type: 'percentage', nullable: true}\n\
test.zip: {mime-type: 'application/octet-stream', nullable: true}\n\
test.jpg: {mime-type: 'image/jpeg', nullable: true}\n\
test.pdf: {mime-type: 'application/pdf', nullable: true}"
LABEL com.envoyai.schema-out="\
test-string: {type: 'string', nullable: true}\n\
test-enum: {'enum': ['A', 'B', 'C'], nullable: true}\n\
test-date: {type: 'date-time', nullable: true}\n\
test-bool: {type: 'boolean', nullable: true}\n\
test-int: {type: 'integer', nullable: true}\n\
test-float: {type: 'number', nullable: true}\n\
test-percentage: {type: 'percentage', nullable: true}\n\
test.zip: {mime-type: 'application/octet-stream', nullable: true}\n\
test.jpg: {mime-type: 'image/jpeg', nullable: true}\n\
test.pdf: {mime-type: 'application/pdf', nullable: true}"
LABEL com.envoyai.info="\
name: Echo Machine\n\
title: Test machine for demonstration or testing purposes only\n\
author: Staff\n\
organization: EnvoyAI"