Docker usable
This commit is contained in:
parent
f2b5a1bd62
commit
266439dc74
2 changed files with 26 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal 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
8
docker-compose.yml
Normal 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"
|
Reference in a new issue