Skip to content

Commit

Permalink
feat:mockサーバーを立ち上げるコマンドを作成
Browse files Browse the repository at this point in the history
  • Loading branch information
mathsuky committed Nov 15, 2024
1 parent ef81a5f commit 4fbb83f
Show file tree
Hide file tree
Showing 7 changed files with 3,974 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ coverage

*.tsbuildinfo

src/api
src/api/generated
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Dockerfile
FROM node:14

# Prismのインストール
RUN npm install -g @stoplight/prism-cli

# 作業ディレクトリの設定
WORKDIR /app

# モックサーバーを起動
CMD ["prism", "mock", "https://raw.githubusercontent.com/traP-jp/traO-Judge-docs/refs/tags/1.1.0/api/backend/frontend-backend.yaml", "-h", "0.0.0.0"]

Loading

0 comments on commit 4fbb83f

Please sign in to comment.