Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tzwm committed Feb 3, 2023
1 parent 93c4fbc commit 25b3fe0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:19-slim

LABEL maintainer="tzwm"

RUN apt-get update && apt-get install -y curl

RUN curl -s -o /tmp/mtrpg-ai.tar.gz -L https://github.com/tzwm/MTRPG-AI/archive/main.tar.gz
RUN mkdir /app && tar xf \
tmp/mtrpg-ai.tar.gz -C /app/ --strip-components=1

WORKDIR /app/
RUN npm install

0 comments on commit 25b3fe0

Please sign in to comment.