actions ci

This commit is contained in:
Jonathan Branan committed 2024-11-02 20:43:00 -05:00
1 parent 678d6f84dc
commit 9ea6e470e2
3 files changed
+45 -37

No files matched your search

+3 -5
View File
@@ -3,10 +3,8 @@ FROM node:22-alpine
ENV NEXT_TELEMETRY_DISABLED=1
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY . /app
RUN corepack enable
RUN yarn;
RUN yarn build;
COPY ./out /app/out
RUN npm install serve
ENV NODE_ENV=production
ENV PORT=3000
@@ -14,4 +12,4 @@ ENV HOSTNAME="0.0.0.0"
EXPOSE 3000
CMD ["yarn", "serve"]
CMD ["npx", "serve", "out"]