mirror of
https://github.com/TxtDot/webder.git
synced 2025-02-28 07:11:24 +03:00
feat: render route
This commit is contained in:
parent
38248e46f5
commit
f19f0f61ba
17 changed files with 3033 additions and 11 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM node:18-alpine as build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
FROM node:18-alpine as run
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/dist/ /app/package*.json ./
|
||||
RUN npm install --omit=dev
|
||||
CMD npm run start:docker
|
||||
EXPOSE 8080
|
Loading…
Add table
Reference in a new issue