kamiwork commited on
Commit
4a1c4dc
·
verified ·
1 Parent(s): 711aff8

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +23 -0
Dockerfile ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+
5
+ # Install dependencies + GitHub runner + Python/Flask
6
+ RUN apt-get update && apt-get install -y \
7
+ curl jq git ca-certificates python3 python3-pip \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ RUN pip3 install flask
11
+
12
+ WORKDIR /runner
13
+
14
+ # Download GitHub Actions runner
15
+ RUN curl -L https://github.com/actions/runner/releases/download/v2.314.1/actions-runner-linux-x64-2.314.1.tar.gz | tar zx
16
+ RUN ./bin/installdependencies.sh
17
+
18
+ COPY entrypoint.sh /entrypoint.sh
19
+ RUN chmod +x /entrypoint.sh
20
+
21
+ EXPOSE 7860
22
+
23
+ ENTRYPOINT ["/entrypoint.sh"]