feat: add Dockerfile

This commit is contained in:
Stefan Imhoff
2024-04-03 21:30:32 +02:00
parent 34872a6cc7
commit 13c60ae64c
3 changed files with 1056 additions and 944 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM --platform=linux/amd64 node:lts
RUN npm install -g http-server
RUN npm install -g pnpm
WORKDIR /app
COPY package*.json pnpm-*.yaml ./
RUN pnpm install
COPY . .
RUN pnpm run build
EXPOSE 8080
CMD [ "http-server", "dist" ]