This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express' | |
import compression from 'compression' | |
import { renderPage } from 'vite-plugin-ssr' | |
import { Options } from 'sirv' | |
import fs from 'fs' | |
import path from 'path' | |
import https from 'https' | |
const isProduction = process.env.NODE_ENV === 'production' | |
const root = `${__dirname}/..` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: minecraft-server | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: minecraft-server | |
template: |