mirror of
https://github.com/unmojang/meta.git
synced 2025-09-24 03:31:03 -04:00
feat: add Dockerfile
This commit is contained in:
parent
651e432daf
commit
ffeee6a986
5
docker.sh
Executable file
5
docker.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
docker build metaenv -t metaenv
|
||||||
|
|
||||||
|
docker run -it --rm -e MODE=master -v $(pwd):/app metaenv:latest ./update.sh
|
||||||
|
|
12
metaenv/Dockerfile
Normal file
12
metaenv/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM python:3.10.2-bullseye
|
||||||
|
|
||||||
|
RUN pip install cachecontrol iso8601 requests lockfile jsonobject
|
||||||
|
|
||||||
|
RUN apt update && apt install -y rsync
|
||||||
|
|
||||||
|
RUN useradd -Ud /app user
|
||||||
|
|
||||||
|
USER user
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user