mirror of
https://github.com/imputnet/cobalt.git
synced 2026-07-17 04:23:36 -05:00
[PR #85] [MERGED] add dockerfile #2467
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/85
Author: @alyx
Created: 2/20/2023
Status: ✅ Merged
Merged: 4/9/2023
Merged by: @wukko
Base:
current← Head:current📝 Commits (1)
e2db3b8add dockerfile📊 Changes
1 file changed (+9 additions, -0 deletions)
View changed files
➕
Dockerfile(+9 -0)📄 Description
adds a dockerfile, so we can stuff more things in containers
uses node:18-bullseye-slim because most recent node lts, alpine breaks it so gotta use debian, slim so the resulting image is like 470MB instead of over a gig.
cobalt doesn't quite function like an app you'd normally dockerize since it requires the .env to exist and won't just take a pile of env variables, but that could be fixed pretty ez
for now just doing a bind mount to the already configured
.envworks🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.