mirror of
https://github.com/wireadmin/wireadmin
synced 2025-04-26 00:50:37 +00:00
fix
This commit is contained in:
parent
9a6fdaa2a5
commit
fd39a92ac7
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -63,4 +63,4 @@ jobs:
|
|||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
platforms: '${{ env.BUILD_PLATFORMS }}'
|
platforms: '${{ env.BUILD_PLATFORMS }}'
|
||||||
tags: "${{ env.GHCR_SLUG }}:${{ env.TAG }},${{ env.DOCKERHUB_SLUG }}:${{ env.TAG }}"
|
tags: '${{ env.GHCR_SLUG }}:${{ env.TAG }},${{ env.DOCKERHUB_SLUG }}:${{ env.TAG }}'
|
||||||
|
@ -21,6 +21,12 @@
|
|||||||
"parser": "svelte",
|
"parser": "svelte",
|
||||||
"plugins": ["prettier-plugin-svelte"]
|
"plugins": ["prettier-plugin-svelte"]
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"files": "Dockerfile",
|
||||||
|
"options": {
|
||||||
|
"spaceRedirects": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"importOrder": ["<THIRD_PARTY_MODULES>", "", "^types$", "^\\$lib/(.*)$", "^@/(.*)$", "", "^[./]"],
|
"importOrder": ["<THIRD_PARTY_MODULES>", "", "^types$", "^\\$lib/(.*)$", "^@/(.*)$", "", "^[./]"],
|
||||||
|
@ -4,7 +4,7 @@ ARG NODE_VERSION=20
|
|||||||
|
|
||||||
FROM --platform=$BUILDPLATFORM node:${NODE_VERSION}-alpine${ALPINE_VERSION} as node
|
FROM --platform=$BUILDPLATFORM node:${NODE_VERSION}-alpine${ALPINE_VERSION} as node
|
||||||
ENV TZ=UTC
|
ENV TZ=UTC
|
||||||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ >/etc/timezone
|
||||||
RUN apk update \
|
RUN apk update \
|
||||||
&& apk upgrade \
|
&& apk upgrade \
|
||||||
&& apk add -U --no-cache \
|
&& apk add -U --no-cache \
|
||||||
@ -24,7 +24,7 @@ RUN apk update \
|
|||||||
make \
|
make \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
RUN << EOT
|
RUN <<EOT
|
||||||
set -ex
|
set -ex
|
||||||
cd /tmp
|
cd /tmp
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ RUN mkdir -p /data/ /etc/tor/torrc.d/ /var/log/wireadmin/ \
|
|||||||
&& chmod -R 400 /etc/tor/ \
|
&& chmod -R 400 /etc/tor/ \
|
||||||
&& touch /var/log/wireadmin/web.log
|
&& touch /var/log/wireadmin/web.log
|
||||||
|
|
||||||
RUN echo '* * * * * /usr/bin/env logrotate /etc/logrotate.d/rotator' > /etc/crontabs/root
|
RUN echo '* * * * * /usr/bin/env logrotate /etc/logrotate.d/rotator' >/etc/crontabs/root
|
||||||
|
|
||||||
# Setup entrypoint
|
# Setup entrypoint
|
||||||
COPY docker-entrypoint.sh /entrypoint.sh
|
COPY docker-entrypoint.sh /entrypoint.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user