Fix server local build (#75)
* Fix server local build * Build docs locally and for prod --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
13
infra/prod/docs/Dockerfile
Normal file
13
infra/prod/docs/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM node:18.16.0-alpine as docs
|
||||
|
||||
WORKDIR /app/docs
|
||||
|
||||
COPY ../../docs/package.json .
|
||||
COPY ../../docs/package-lock.json .
|
||||
RUN npm install
|
||||
|
||||
COPY ../../docs .
|
||||
|
||||
RUN npm install -g serve
|
||||
|
||||
CMD ["serve", "-s", "build"]
|
||||
Reference in New Issue
Block a user