Skip to content

Commit

Permalink
Checking in the euphoria template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ispyhumanfly committed Oct 27, 2023
1 parent dd8cf49 commit c41848f
Show file tree
Hide file tree
Showing 67 changed files with 4,399 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/templates/src/euphoria/.iniquity/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
28 changes: 28 additions & 0 deletions packages/templates/src/euphoria/.iniquity/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM iniquitybbs/iniquity:latest as iniquity
LABEL name="iniquity"
LABEL version="latest"

WORKDIR /dist
COPY ../ .

RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash \
&& . $HOME/.nvm/nvm.sh || true \
&& nvm install 16 \
&& nvm install-latest-npm \
&& npm version \
&& nvm use

RUN cd /sbbs/exec/ \
&& mv login.js login.js-original \
&& mv logon.js logon.js-original \
&& cd /sbbs/text/ \
&& mv answer.msg answer.msg-original ; touch answer.msg \
&& ln -s /dist/bundle.js /sbbs/exec/login.js

VOLUME /sbbs
VOLUME /dist

# Start Iniquity
EXPOSE 22 23 80 443 1123 11235

CMD ["/sbbs/exec/sbbs"]
14 changes: 14 additions & 0 deletions packages/templates/src/euphoria/.iniquity/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: "3.9"
services:
runtime:
build: .
ports:
- "22:22"
- "23:23"
- "80:80"
- "443:443"
- "1123:1123"
- "11235:11235"
volumes:
- ./dist:/dist
- ./data:/sbbs/data
Loading

0 comments on commit c41848f

Please sign in to comment.