mirror of
https://git.sanhost.net/sanasol/hytale-f2p
synced 2026-02-26 04:31:48 -03:00
Consistent order across all files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
433 B
Docker
22 lines
433 B
Docker
FROM node:20-alpine
|
|
|
|
# Install openssl for SSL certificate generation
|
|
RUN apk add --no-cache openssl
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy package files from hytale-auth-server
|
|
COPY package*.json ./
|
|
|
|
# Install dependencies
|
|
RUN npm ci --only=production
|
|
|
|
# Copy source files
|
|
COPY src ./src
|
|
COPY assets ./assets
|
|
|
|
EXPOSE 3000
|
|
|
|
# Use debug wrapper as entry point (will fall back to normal app.js if DEBUG_MODE!=true)
|
|
CMD ["node", "src/debug-wrapper.js"]
|