Compare commits
No commits in common. "51bd06572a97e47a9e39c6132f807dc5fee5a9a5" and "fef736f547b7aaaa69c53281c716039f855f4e69" have entirely different histories.
51bd06572a
...
fef736f547
2 changed files with 0 additions and 28 deletions
|
@ -1,5 +0,0 @@
|
|||
.git
|
||||
Dockerfile
|
||||
node_modules
|
||||
*.md
|
||||
.env.*
|
23
Dockerfile
23
Dockerfile
|
@ -1,23 +0,0 @@
|
|||
FROM node:16-alpine AS builder
|
||||
|
||||
RUN apk add --no-cache libc6-compat
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY pnpm-lock.yaml .
|
||||
|
||||
RUN npm install -g pnpm && \
|
||||
pnpm install
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENV PORT 3000
|
||||
|
||||
CMD ["pnpm", "start"]
|
Loading…
Add table
Reference in a new issue