diff --git a/Dockerfile b/Dockerfile index e0b8eb9..20f0b25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -91,7 +91,7 @@ RUN apt update \ && apt autoremove -y \ && rm -rf /var/lib/apt/lists/* -RUN mkdir /workspace +#RUN mkdir /workspace # Clone and install cloud9 RUN git clone https://github.com/c9/core.git /cloud9/c9sdk @@ -147,7 +147,7 @@ COPY --from=builder /src/web/dist/ /usr/local/lib/web/frontend/ RUN ln -sf /usr/local/lib/web/frontend/static/websockify /usr/local/lib/web/frontend/static/novnc/utils/websockify && \ chmod +x /usr/local/lib/web/frontend/static/websockify/run -EXPOSE 80 +EXPOSE 6080 EXPOSE 9999 WORKDIR /workspace @@ -179,4 +179,13 @@ RUN apt -y remove thunar # Copy files COPY rootfs / -RUN rm -rf /workspace/* + +# Extras +RUN tar xvfz /etc/osmosis/osmosis-0.48.3.tgz --directory /etc/osmosis +RUN tar xvfz /etc/osmosis/osmosis-0.48.3.tgz --directory /etc/osmosis +RUN chmod a+x /etc/osmosis/bin/osmosis +RUN ln -sf /etc/osmosis/bin/osmosis /bin + +RUN apt -y install osmctools + +#RUN rm -rf /workspace/* diff --git a/rootfs/etc/nginx/sites-enabled/default b/rootfs/etc/nginx/sites-enabled/default index b6afe51..d687d5f 100644 --- a/rootfs/etc/nginx/sites-enabled/default +++ b/rootfs/etc/nginx/sites-enabled/default @@ -1,5 +1,5 @@ server { - listen 80 default_server; + listen 6080 default_server; # listen [::]:80 default_server ipv6only=on; #_SSL_PORT_#listen 443 ssl default_server; diff --git a/rootfs/etc/osmosis/osmosis-0.48.3.tgz b/rootfs/etc/osmosis/osmosis-0.48.3.tgz new file mode 100644 index 0000000..727db3d Binary files /dev/null and b/rootfs/etc/osmosis/osmosis-0.48.3.tgz differ