Files
2048/Dockerfile
Fredrik Johansson 5629e05a72 Initial commit — 2048 terminal game
Plain TS + Vite, JetBrains Mono terminal aesthetic. Includes engine
(pure logic, direction normalization, tile tracking), animated UI
(CSS transitions + keyframes), keyboard/touch input, Dockerfile,
nginx config, docker-compose, and Gitea Actions CI workflow.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-07 19:57:48 +02:00

12 lines
232 B
Docker

FROM node:22-alpine AS build
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80