-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
975 additions
and
974 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
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
ARG NODE_VERSION=20-bullseye | ||
FROM node:${NODE_VERSION} as base | ||
FROM node:${NODE_VERSION} AS base | ||
WORKDIR /app | ||
COPY package*.json yarn.lock ./ | ||
RUN yarn --prod | ||
RUN cat /etc/os-release /etc/debian_version && node --version && yarn --prod | ||
|
||
FROM base as dev | ||
FROM base AS dev | ||
RUN yarn | ||
|
||
FROM dev as build | ||
FROM dev AS build | ||
COPY . . | ||
RUN yarn build | ||
|
||
FROM base | ||
ARG BOT_REVISION | ||
LABEL org.opencontainers.image.title Bastion Discord bot | ||
LABEL org.opencontainers.image.authors [email protected] | ||
LABEL org.opencontainers.image.licenses AGPL-3.0-or-later | ||
LABEL org.opencontainers.image.revision ${BOT_REVISION} | ||
LABEL org.opencontainers.image.title="Bastion Discord bot" | ||
LABEL org.opencontainers.image.authors=[email protected] | ||
LABEL org.opencontainers.image.licenses=AGPL-3.0-or-later | ||
LABEL org.opencontainers.image.revision=${BOT_REVISION} | ||
ENV BOT_REVISION=${BOT_REVISION} | ||
WORKDIR /app | ||
COPY COPYING . | ||
|
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
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
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
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
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
Oops, something went wrong.