woj-server/resource/runner/scripts/ubuntu-run.Dockerfile

14 lines
392 B
Docker
Raw Normal View History

ARG IMAGE_PREFIX=git.0x7f.app/woj
FROM ${IMAGE_PREFIX}/ubuntu-full:latest AS builder
2023-08-11 18:54:00 +08:00
FROM docker.io/library/ubuntu:22.04
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y python3 pypy3 \
&& apt-get clean && rm -rf /var/lib/apt/lists
2024-01-04 18:12:00 +08:00
WORKDIR /woj
2023-08-11 18:54:00 +08:00
RUN mkdir -p /woj/framework/scripts
COPY --from=builder /woj/framework/scripts/woj_launcher /woj/framework/scripts/