Docker usable

This commit is contained in:
Korbs 2024-03-03 02:23:57 -05:00
parent f2b5a1bd62
commit 266439dc74
No known key found for this signature in database
2 changed files with 26 additions and 0 deletions

18
Dockerfile Normal file
View file

@ -0,0 +1,18 @@
# Base
FROM oven/bun
# Set Work Directory
WORKDIR /share
COPY . /share
# Expose Ports
EXPOSE 1933
# Disable Astro Telemtry
RUN bunx astro telemetry disable
# Install Packages
RUN bun i
# Run
CMD bun start --host

8
docker-compose.yml Normal file
View file

@ -0,0 +1,8 @@
version: "3"
services:
minpluto-share2fedi:
image: quay.io/sudovanilla/minpluto-share2fedi
# pull_policy: always
restart: unless-stopped
ports:
- "1933:4321"