Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/twikoojs/twikoo
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Oct 17, 2024
2 parents 0833a0c + 76a6b3f commit cf153e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ARG NODE_IMAGE=node
FROM ${NODE_IMAGE}:lts AS build
WORKDIR /app
ENV NODE_ENV production
ENV NODE_ENV=production
RUN set -eux; \
npm install --production tkserver@latest; \
mkdir -p data
FROM ${NODE_IMAGE}:lts-buster-slim
FROM ${NODE_IMAGE}:lts-alpine
WORKDIR /app
ENV NODE_ENV production
ENV NODE_ENV=production
COPY --from=build /app .
EXPOSE 8080
CMD ["/app/node_modules/.bin/tkserver"]

0 comments on commit cf153e2

Please sign in to comment.