feat: Development environment with docker compose (#709)

This commit is contained in:
Robson Ventura
2024-04-15 11:22:51 -03:00
committed by GitHub
parent 8ef27ca32a
commit 12ece8dfac
4 changed files with 159 additions and 35 deletions

View File

@@ -0,0 +1,14 @@
FROM node:18-alpine as server-dependencies
RUN apk -U upgrade \
&& apk add build-base python3 \
--no-cache
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install npm@latest --global \
&& npm install pnpm --global \
&& pnpm import \
&& pnpm install