garrettjoecox / anchor

Anchor is a mod+server that enables co-op on Ship of Harkinian, the Ocarina of Time PC Port
33 stars 8 forks source link

Dockerfile #1

Closed mattman107 closed 8 months ago

mattman107 commented 8 months ago

I think having a docker container option for the server would be cool.

This Dockerfile pretty much takes the latest deno docker image (https://hub.docker.com/r/denoland/deno) and runs the mod.ts file in the deno container.

I was playing around with having Github also make the docker image, but I couldn't figure it out. It is probably best if your account hosts the image anyway.

Pretty much all that has to be done from this Dockerfile is creating the image, then when the user creates the container (using that image) mapping the ports 43384:43384 (out of container: in container).