File size: 464 Bytes
8969f81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM node:14

RUN apt-get update && \
    apt-get install -y nginx gettext-base && \
    rm -rf /var/lib/apt/lists/* && \
    chown -R 1000:1000 /etc/nginx && \
    chown -R 1000:1000 /var/log/nginx && \
    chown -R 1000:1000 /var/lib/nginx

WORKDIR /app/transformer-autocomplete
ADD . .

RUN cd front && npm install && npx tsc && npm run build:prod
RUN cd grunt && npm install && npx grunt
RUN cd server && npm install && npx tsc

ENTRYPOINT ["./entrypoint.sh"]