-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use digest for docker dependencies (#6)
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,14 +15,14 @@ | |
# You should have received a copy of the GNU Affero General Public License | ||
# along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
FROM node:22.12.0-alpine as builder | ||
FROM docker.io/node:22.12.0-alpine@sha256:6e80991f69cc7722c561e5d14d5e72ab47c0d6b6cfb3ae50fb9cf9a7b30fdf97 as builder | ||
|
||
COPY package.json package-lock.json ./ | ||
RUN npm install -g npm && npm install | ||
COPY . . | ||
RUN npx tsx gen_caddy.ts < Caddyfile.base > Caddyfile | ||
|
||
FROM docker.io/caddy:2.8.4-alpine | ||
FROM docker.io/caddy:2.8.4-alpine@sha256:e97e0e3f8f51be708a9d5fadbbd75e3398c22fc0eecd4b26d48561e3f7daa9eb | ||
|
||
LABEL org.opencontainers.image.authors="Hong Xu <[email protected]>" | ||
LABEL org.opencontainers.image.title="Delpa Redirection Server" | ||
|