WIP: adding docker

This commit is contained in:
2022-08-11 22:22:45 +02:00
parent ecb8eed175
commit f8d48aedc9
5 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
FROM node:16.6-alpine as base
RUN pnpm i --global vite
FROM node:16.6-alpine as builder
WORKDIR /app/
COPY package.json .
COPY pnpm-lock.yaml .
RUN cargo build
CMD [ "cargo", "run" ]