mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 09:59:10 +00:00
fix tests, remove webapp from terraform
This commit is contained in:
parent
8d06327c03
commit
0b54321cfe
11 changed files with 1017 additions and 313 deletions
|
@ -1,24 +0,0 @@
|
|||
#
|
||||
# Builder
|
||||
#
|
||||
FROM mhart/alpine-node:14 AS builder
|
||||
WORKDIR /src
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile --ignore-scripts
|
||||
|
||||
COPY tsconfig.json .babelrc.js next.config.js next-env.d.ts ./
|
||||
COPY src src
|
||||
|
||||
RUN yarn ui:build
|
||||
RUN yarn install --frozen-lockfile --prod --ignore-scripts
|
||||
|
||||
#
|
||||
# Output layer
|
||||
#
|
||||
FROM mhart/alpine-node:slim-14 AS output
|
||||
|
||||
COPY --from=builder /src .
|
||||
|
||||
ENV PORT=6601
|
||||
ENTRYPOINT [ "/bin/sh", "-c", "/usr/bin/node node_modules/.bin/next start -p $PORT" ]
|
Loading…
Add table
Add a link
Reference in a new issue