Skip to content

Commit

Permalink
[Build] try changing docker completely
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGravyBoat committed Aug 22, 2024
1 parent fafb439 commit d7c8cf4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
FROM node:18.13-alpine
ENV NODE_ENV=production

WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install nuxi -g
RUN npm install
COPY . ./app
RUN npx nuxi build

RUN npm ci
RUN npm run build

CMD ["node", ".output/server/index.mjs"]

LABEL org.opencontainers.image.source=https://github.com/Team-Resourceful/beehive
LABEL org.opencontainers.image.description="Beehive"
LABEL org.opencontainers.image.licenses=AGPL-3.0

0 comments on commit d7c8cf4

Please sign in to comment.