Skip to content

Commit 345d903

Browse files
committed
added. docker config files
1 parent 9a25b35 commit 345d903

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.dockerignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.git/
2+
/.gitignore
3+
4+
/assets/

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM ruby:3.3
2+
3+
WORKDIR /pzdc
4+
5+
COPY . .
6+
7+
CMD ["/bin/bash"]
8+
9+
# sudo docker build -t pzdc2 .
10+
# sudo docker run -it --name pzdc_2 pzdc2
11+
# sudo docker start -i pzdc_2

docker-compose.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
services:
2+
pzdc2:
3+
build: ./
4+
container_name: pzdc_dungeon_2
5+
volumes:
6+
- .:/pzdc
7+
8+
# sudo docker compose build
9+
# sudo docker compose run --rm pzdc2 bash

0 commit comments

Comments
 (0)