Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu2301 committed Apr 27, 2024
1 parent ce74e4b commit 95d43a6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
FROM node:lts-hydrogen
FROM node:latest

LABEL org.opencontainers.image.source=https://github.com/mathieu2301/candlevault

WORKDIR /app

COPY package.json .
# Copy package.json and yarn.lock to install dependencies
COPY package.json yarn.lock ./

RUN yarn
# Install dependencies
RUN yarn install --frozen-lockfile
COPY . .

EXPOSE 4000

CMD ["node", "./main.js"]
CMD ["yarn", "start"]

0 comments on commit 95d43a6

Please sign in to comment.