k-l-lambda commited on
Commit
077b914
·
1 Parent(s): 24fb85f

Skip jison parser build - use pre-built tgnParser.cjs

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -3,7 +3,7 @@ FROM node:20-slim
3
  # Set noninteractive installation
4
  ENV DEBIAN_FRONTEND=noninteractive
5
 
6
- # Build timestamp to force cache invalidation: 2026-01-12T18:35
7
 
8
  # Install build dependencies
9
  RUN apt-get update && apt-get install -y \
@@ -28,8 +28,8 @@ RUN npm install --omit=dev && \
28
  cd ../backend && npm install && \
29
  cd ..
30
 
31
- # Build jison parsers (required for the game) - use global tsx directly
32
- RUN tsx tools/buildJisonParser.ts
33
 
34
  # Build frontend (generates dist folder) - skip vue-tsc type checking, use build:prod
35
  RUN cd app && npm run build:prod
 
3
  # Set noninteractive installation
4
  ENV DEBIAN_FRONTEND=noninteractive
5
 
6
+ # Build timestamp to force cache invalidation: 2026-01-12T18:40
7
 
8
  # Install build dependencies
9
  RUN apt-get update && apt-get install -y \
 
28
  cd ../backend && npm install && \
29
  cd ..
30
 
31
+ # Skip jison parser build - pre-built tgnParser.cjs is already in public/lib/
32
+ # RUN tsx tools/buildJisonParser.ts
33
 
34
  # Build frontend (generates dist folder) - skip vue-tsc type checking, use build:prod
35
  RUN cd app && npm run build:prod