Skip to content

Commit

Permalink
chore: update node image becase buster outdated
Browse files Browse the repository at this point in the history
  • Loading branch information
lizheming authored May 12, 2024
1 parent 4e28685 commit 142623a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ RUN set -eux; \
# npm config set registry https://registry.npm.taobao.org; \
npm install --production --silent @waline/vercel

FROM node:lts-buster-slim
FROM node:lts-slim
WORKDIR /app
ENV TZ Asia/Shanghai
ENV NODE_ENV production
COPY --from=build /app .
EXPOSE 8360
CMD ["node", "node_modules/@waline/vercel/vanilla.js"]
CMD ["node", "node_modules/@waline/vercel/vanilla.js"]

0 comments on commit 142623a

Please sign in to comment.