Skip to content

Commit

Permalink
[aws] feat: User Profile
Browse files Browse the repository at this point in the history
  • Loading branch information
helloitsdave committed Aug 18, 2024
1 parent 0faeedc commit 3f03002
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@ FROM node:20-alpine

WORKDIR /usr/src/app

# Install dependencies required for the build
RUN apk add --no-cache bash

# Copy only the built artifacts and necessary files from the builder stage
COPY --from=builder /usr/src/app/dist ./dist
COPY --from=builder /usr/src/app/node_modules ./node_modules
COPY --from=builder /usr/src/app/wait-for-it.sh ./wait-for-it.sh
COPY --from=builder /usr/src/app/ ./

# Copy the wait-for-it.sh script and make it executable
RUN chmod +x wait-for-it.sh

# Expose the port that the application will run on
EXPOSE 5000
Expand Down

0 comments on commit 3f03002

Please sign in to comment.