File size: 518 Bytes
07ded07
627e81d
b445b42
627e81d
 
 
 
 
 
0675186
 
 
b445b42
0675186
 
627e81d
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM node:20

RUN apt-get update && apt-get install -y postgresql postgresql-contrib git sudo gnupg2

RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql
RUN chown -R postgres:postgres /var/lib/postgresql

WORKDIR /app

RUN git clone https://github.com/nocobase/nocobase.git -b main --depth=1 my-nocobase

WORKDIR /app/my-nocobase
RUN yarn install --frozen-lockfile --network-timeout 100000

WORKDIR /app
COPY run.sh /app/run.sh
RUN chmod +x /app/run.sh

EXPOSE 4444

CMD ["/app/run.sh"]