v
File size: 467 Bytes
9cdd80f
24f7f3a
5304a89
 
 
 
24f7f3a
5304a89
24f7f3a
5304a89
933e2f7
5304a89
 
 
a7b419e
24f7f3a
5304a89
a7b419e
f95a7e3
5304a89
 
24f7f3a
f95a7e3
1739254
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM voapi/voapi:latest

RUN apk add --no-cache pcre2

COPY --from=nginx:alpine /etc/nginx /etc/nginx
COPY --from=nginx:alpine /usr/sbin/nginx /usr/sbin/nginx

COPY nginx.conf /etc/nginx/nginx.conf

RUN mkdir -p /var/log/nginx && \
    mkdir -p /var/cache/nginx && \
    mkdir -p /var/run && \
    chmod -R 777 /var/log/nginx && \
    chmod -R 777 /var/cache/nginx && \
    chmod -R 777 /var/run

WORKDIR /data

EXPOSE 3001

RUN chmod 777 -R /data


CMD ["/start.sh"]