forked from mlepinay/wearebigchill
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile.fedora
29 lines (22 loc) · 902 Bytes
/
Dockerfile.fedora
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM fedora:39
RUN dnf install -y httpd && \
mv /etc/httpd/modules/mod_heartmonitor.so /etc/httpd/modules/mod_heartmonitor.so.bak
COPY httpd-fedora.conf /etc/httpd/conf/httpd.conf
RUN groupadd container && \
useradd -g container container
RUN chown -R container.container /run/httpd
USER container:container
RUN mkdir -p /home/container/www/htdocs/res && \
mkdir -p /home/container/www/logs && \
mkdir -p /home/container/run/apache2 && \
mkdir /home/container/theme1 && \
mkdir /home/container/theme2
COPY publish/html5/theme1/* /home/container/theme1/
COPY publish/html5/theme2/* /home/container/theme2/
COPY publish/html5/game.min.js /home/container/www/htdocs/
COPY publish/html5/index.html /home/container/www/htdocs/
COPY publish/html5/project.json /home/container/www/htdocs/
COPY start.sh /home/container
ENV THEME=1
EXPOSE 8080
CMD ["/home/container/start.sh"]