Skip to content

Commit

Permalink
chore:bump version 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
VinneyJ committed Oct 10, 2024
1 parent 9d31cc9 commit 1e81918
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk add --no-cache libc6-compat

WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile --network-timeout 600000
RUN yarn install --frozen-lockfile --network-timeout 1200000

# Rebuild the source code only when needed
FROM node:20-alpine AS builder
Expand All @@ -18,10 +18,7 @@ ARG TWOOPSTRACKER_API_URL \
# Learn more here: https://nextjs.org/telemetry
NEXT_TELEMETRY_DISABLED=1

ENV TWOOPSTRACKER_API_URL=${TWOOPSTRACKER_API_URL} \
NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED}

RUN yarn build
RUN yarn build --verbose

# Production image, copy all the files and run next
FROM node:20-alpine AS runner
Expand All @@ -34,7 +31,6 @@ WORKDIR /app
RUN addgroup --system --gid 1001 nodejs
RUN adduser --system --uid 1001 nextjs


# You only need to copy next.config.js if you are NOT using the default configuration
COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/public ./public
Expand All @@ -51,4 +47,4 @@ EXPOSE 3000

ENV PORT=3000

CMD ["node", "server.js"]
CMD ["node", "server.js"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "twoopstrackerui",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"scripts": {
"cms": "netlify-cms-proxy-server",
Expand Down

0 comments on commit 1e81918

Please sign in to comment.