forked from LedgerHQ/speculos
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (23 loc) · 665 Bytes
/
Dockerfile
File metadata and controls
30 lines (23 loc) · 665 Bytes
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
# This Dockerfile assembles an image with all the dependencies required to run
# speculos from the command-line (--display headless or --display console, no
# GUI).
#
# Prerequisite: a working speculos build.
FROM docker.io/library/python:3.9-slim
ADD . /speculos
WORKDIR /speculos
RUN pip install --upgrade pip pipenv
RUN pipenv install --deploy --system
RUN apt-get update && apt-get install -qy \
qemu-user-static \
libvncserver-dev \
&& apt-get clean
RUN apt-get clean && rm -rf /var/lib/apt/lists/
# default port for dev env
EXPOSE 1234
EXPOSE 1236
EXPOSE 9999
EXPOSE 40000
EXPOSE 41000
EXPOSE 42000
ENTRYPOINT [ "python", "./speculos.py" ]