update dockerfile
This commit is contained in:
parent
36bca795fa
commit
23156552db
|
@ -115,7 +115,7 @@ dockers:
|
|||
goarch: arm64
|
||||
ids:
|
||||
- build
|
||||
dockerfile: docker/Dockerfile.goreleaser
|
||||
dockerfile: docker/Dockerfile.goreleaser.arm64
|
||||
extra_files:
|
||||
- pub
|
||||
- etc
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
FROM --platform=$BUILDPLATFORM python:3-slim
|
||||
FROM --platform=$TARGETPLATFORM python:3-slim
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
ADD n9e /app
|
||||
ADD etc /app
|
||||
RUN mkdir -p /app/integrations
|
||||
ADD integrations /app/integrations/
|
||||
ADD http://download.flashcat.cloud/wait /wait
|
||||
RUN mkdir -p /app/pub && chmod +x /wait
|
||||
ADD pub /app/pub/
|
||||
RUN chmod +x n9e
|
||||
ADD integrations /app
|
||||
ADD --chmod=755 https://github.com/ufoscout/docker-compose-wait/releases/download/2.11.0/wait_x86_64 /wait
|
||||
ADD pub /app
|
||||
|
||||
EXPOSE 17000
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
FROM --platform=$BUILDPLATFORM python:3-slim
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
ADD n9e /app
|
||||
ADD etc /app
|
||||
ADD integrations /app
|
||||
ADD --chmod=755 https://github.com/ufoscout/docker-compose-wait/releases/download/2.11.0/wait_aarch64 /wait
|
||||
ADD pub /app
|
||||
|
||||
EXPOSE 17000
|
||||
|
||||
CMD ["/app/n9e", "-h"]
|
Loading…
Reference in New Issue