[PR #85] [MERGED] add dockerfile #10921

Closed
opened 2026-05-02 22:38:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: currentHead: current


📝 Commits (1)

📊 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 .env works


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/85 **Author:** [@alyx](https://github.com/alyx) **Created:** 2/20/2023 **Status:** ✅ Merged **Merged:** 4/9/2023 **Merged by:** [@wukko](https://github.com/wukko) **Base:** `current` ← **Head:** `current` --- ### 📝 Commits (1) - [`e2db3b8`](https://github.com/imputnet/cobalt/commit/e2db3b8fb734dd641f785a1916f670b46a1a758f) add dockerfile ### 📊 Changes **1 file changed** (+9 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `Dockerfile` (+9 -0) </details> ### 📄 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 `.env` works --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-02 22:38:06 -05:00
Sign in to join this conversation.