Skip to content

Commit 9ef27ac

Browse files
committed
Code Cleanup
1 parent c796df7 commit 9ef27ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5461
-253
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ FROM node:20.7 as builder
3131
WORKDIR /app
3232
COPY . .
3333

34-
RUN npm run -s print-version
34+
3535
RUN npm install
3636
RUN npm run build
3737

@@ -42,10 +42,10 @@ RUN yarn global add sirv-cli
4242

4343
WORKDIR /app
4444

45-
COPY --from=builder /app/build /app
45+
COPY --from=builder /app/dist /app
4646
COPY ./docker-entrypoint.sh /docker-entrypoint.sh
4747

4848
ENTRYPOINT ["/docker-entrypoint.sh"]
4949
ENV HOST=0.0.0.0 PORT=3000
50-
CMD ["sirv", "--quiet", "--etag", "--single"]
50+
CMD ["sirv", "--etag", "--single"]
5151
EXPOSE 3000
26 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
38.8 KB
Binary file not shown.
Binary file not shown.
31.9 KB
Binary file not shown.
20.5 KB
Binary file not shown.
28.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)