-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (25 loc) · 1001 Bytes
/
Dockerfile
File metadata and controls
34 lines (25 loc) · 1001 Bytes
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
30
31
32
33
34
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
curl \
wget \
supervisor \
ca-certificates \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /tmp
RUN curl -sL -o lapdev_0.1.0-1_amd64.deb https://github.com/lapce/lapdev/releases/download/v0.1.0/lapdev_0.1.0-1_amd64.deb && \
apt-get update && \
apt-get install -y ./lapdev_0.1.0-1_amd64.deb && \
rm lapdev_0.1.0-1_amd64.deb && \
rm -rf /var/lib/apt/lists/*
RUN curl -sL -o lapdev-ws_0.1.0-1_amd64.deb https://github.com/lapce/lapdev/releases/download/v0.1.0/lapdev-ws_0.1.0-1_amd64.deb && \
apt-get update && \
apt-get install -y ./lapdev-ws_0.1.0-1_amd64.deb || echo "lapdev-ws package not found" && \
rm -rf /var/lib/apt/lists/*
RUN ls -la /usr/bin/lapdev* || true
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 80 443 6123
CMD ["/entrypoint.sh"]