mirror of
https://github.com/opus-tango/socialdb-sh.git
synced 2026-03-20 12:05:21 +00:00
add docker setup for db and dev server
This commit is contained in:
15
Dockerfile.dev
Normal file
15
Dockerfile.dev
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
COPY pnpm-lock.yaml ./
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
RUN pnpm install
|
||||
|
||||
# Copy the rest of the application source, excluding node_modules via .dockerignore
|
||||
COPY . .
|
||||
|
||||
CMD ["pnpm", "run", "dev"]
|
||||
Reference in New Issue
Block a user