Skip to content

Commit

Permalink
Update Dockerfile to include scripts directory in the production image
Browse files Browse the repository at this point in the history
  • Loading branch information
appujet committed Jun 2, 2024
1 parent 16005b0 commit d2dadb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ RUN npm install

RUN npm config set global --legacy-peer-deps

# Copy source code
COPY . .

# Copy tsconfig.json
COPY tsconfig.json ./
Expand All @@ -40,7 +38,7 @@ WORKDIR /opt/lavamusic/
COPY --from=builder /opt/lavamusic/dist ./dist
COPY --from=builder /opt/lavamusic/src/utils/LavaLogo.txt ./src/utils/LavaLogo.txt
COPY --from=builder /opt/lavamusic/prisma ./prisma
COPY --from=builder /opt/lavamusic/source ./source
COPY --from=builder /opt/lavamusic/scripts ./scripts

# Copy package files and install production dependencies
COPY package*.json ./
Expand Down

0 comments on commit d2dadb2

Please sign in to comment.