Skip to content

Need deployment documentation #7

@Taloth

Description

@Taloth

@orientalsniper asked for how to deploy to vercel. But I dunno what format vercel requires to recognize it as a vanilla nodejs app.

Atm I deploy it manually to a kubernetes cluster as docker container. With Dockerfile:

FROM node:15

WORKDIR /usr/src/app

COPY package.json ./

RUN npm install

ENV PORT=8080
COPY index.js ./
COPY aoe4/ ./aoe4/
COPY views/ ./views/

RUN ls -al

EXPOSE 8080
CMD [ "node", "index.js" ]

Regardless, we should probably have some instructions on how to build and run it locally:

yarn install
yarn start

and some instructions on how to deploy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions