mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 15:53:08 +02:00
feat(docker): rename build stages
This commit is contained in:
parent
f5eec3b469
commit
699b612e67
@ -1,6 +1,6 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM node:18-alpine AS build
|
FROM node:18-alpine AS builder
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY package.json pnpm-lock.yaml ./
|
COPY package.json pnpm-lock.yaml ./
|
||||||
COPY --link scripts scripts
|
COPY --link scripts scripts
|
||||||
@ -12,7 +12,7 @@ RUN npm install -g pnpm
|
|||||||
RUN CI=true pnpm install --prod --frozen-lockfile
|
RUN CI=true pnpm install --prod --frozen-lockfile
|
||||||
COPY --link . .
|
COPY --link . .
|
||||||
|
|
||||||
FROM node:18-alpine AS final
|
FROM node:18-alpine AS runner
|
||||||
ENV NODE_ENV=production \
|
ENV NODE_ENV=production \
|
||||||
HTTP_HOST=0.0.0.0 \
|
HTTP_HOST=0.0.0.0 \
|
||||||
HTTP_PORT=80 \
|
HTTP_PORT=80 \
|
||||||
|
Loading…
Reference in New Issue
Block a user