Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
f0reachARR committed Sep 26, 2023
1 parent 6fa6aa8 commit 23c8943
Show file tree
Hide file tree
Showing 4 changed files with 1,252 additions and 1,223 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
FROM node:12.14.0-alpine AS build
FROM node:18-alpine AS build
ENV NODE_ENV=development
WORKDIR /app

RUN apk -U upgrade && apk add \
git \
yarn \
pnpm \
&& rm -rf /var/cache/apk/*

COPY package.json yarn.lock /app/
COPY package.json pnpm-lock.yaml /app/

RUN yarn --pure-lockfile \
&& yarn cache clean
RUN pnpm install --frozen-lockfile
COPY . /app/
RUN yarn run build
RUN pnpm run build

FROM node:12.14.0-alpine AS production
FROM node:18-alpine AS production
LABEL maintainer="f0reachARR" description="KIT Notification Bot for Discord"
ENV NODE_ENV=production
ENV TZ=Asia/Tokyo
Expand Down
Loading

0 comments on commit 23c8943

Please sign in to comment.