Some checks failed
continuous-integration/drone/push Build is failing
- Changed base image from node:22-alpine to node:18-alpine - Simplified Dockerfile by removing redundant comments - Streamlined dependency installation and build steps - Maintained pnpm as package manager
13 lines
162 B
Docker
13 lines
162 B
Docker
FROM node:18-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json pnpm-lock.yaml ./
|
|
COPY . .
|
|
|
|
RUN npm install -g pnpm && \
|
|
pnpm install
|
|
|
|
EXPOSE 8001
|
|
|
|
CMD ["pnpm", "start"] |