Skip to content

Commit

Permalink
Dockerfile: cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Nov 13, 2023
1 parent 9b939c9 commit b8c2f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Base
FROM node:18-alpine AS base
ENV NEXT_TELEMETRY_DISABLED 1

Expand All @@ -23,7 +24,6 @@ COPY . .

# Build the application
ENV NODE_ENV production
ENV APP_DOCKER_BUILD 1
RUN npm run build

# Reduce installed packages to production-only
Expand Down Expand Up @@ -53,4 +53,4 @@ USER nextjs
EXPOSE 3000

# Start the application
CMD ["next", "start"]
CMD ["next", "start"]

0 comments on commit b8c2f1b

Please sign in to comment.