mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-11 22:44:47 +00:00
begin live server support
This commit is contained in:
parent
0c9ddb476a
commit
e4ae265184
368 changed files with 17756 additions and 7738 deletions
17
relay/Dockerfile
Normal file
17
relay/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM node:22-slim
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
COPY .yalc/ .yalc/
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
COPY relay/ relay/
|
||||
COPY public/manifest.json public/manifest.json
|
||||
|
||||
ENV RELAY_PORT=8765
|
||||
ENV GAME_BASE_PATH=/data/base
|
||||
ENV MANIFEST_PATH=/app/public/manifest.json
|
||||
|
||||
EXPOSE 8765
|
||||
|
||||
CMD ["node", "--import=tsx/esm", "relay/server.ts"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue