Adding osmosis, osmctools, changing port
This commit is contained in:
parent
ddf63968f9
commit
47be569a0d
15
Dockerfile
15
Dockerfile
|
|
@ -91,7 +91,7 @@ RUN apt update \
|
||||||
&& apt autoremove -y \
|
&& apt autoremove -y \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN mkdir /workspace
|
#RUN mkdir /workspace
|
||||||
|
|
||||||
# Clone and install cloud9
|
# Clone and install cloud9
|
||||||
RUN git clone https://github.com/c9/core.git /cloud9/c9sdk
|
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 && \
|
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
|
chmod +x /usr/local/lib/web/frontend/static/websockify/run
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 6080
|
||||||
EXPOSE 9999
|
EXPOSE 9999
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
@ -179,4 +179,13 @@ RUN apt -y remove thunar
|
||||||
|
|
||||||
# Copy files
|
# Copy files
|
||||||
COPY rootfs /
|
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/*
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen 6080 default_server;
|
||||||
# listen [::]:80 default_server ipv6only=on;
|
# listen [::]:80 default_server ipv6only=on;
|
||||||
|
|
||||||
#_SSL_PORT_#listen 443 ssl default_server;
|
#_SSL_PORT_#listen 443 ssl default_server;
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue