mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 08:33:01 +05:30
18 lines
194 B
Docker
Executable File
18 lines
194 B
Docker
Executable File
FROM node:18-alpine
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json ./
|
|
COPY pnpm-lock.yaml ./
|
|
|
|
RUN npm install -g pnpm
|
|
|
|
RUN pnpm i
|
|
|
|
COPY . .
|
|
|
|
RUN pnpm build
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["node", "build/index.js"] |