diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5c48030 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM node:20-alpine + +WORKDIR /app + +COPY package.json ./ +COPY package-lock.json ./ +RUN npm install + +COPY . . + +RUN npm run build + +EXPOSE 9000 + +CMD ["npm", "run", "start"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f877dd9 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +services: + uiogaming.no: + container_name: uiogaming.no + build: . + ports: + - 9000:9000