Skip to content

Commit

Permalink
Change image build asset copy to relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejearley committed Mar 15, 2023
1 parent e79f20a commit 0d0419a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions services/users/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ RUN apk add --no-cache git
# Set the working directory to /tmp
WORKDIR /tmp

# Copy files to the working directory
# Copy all files to /tmp
COPY . .

# Install the dependencies
RUN npm install

# Build the TypeScript project
# Build the service
RUN npm run build --workspace @casimir/users

# Copy the build assets to /app
COPY ./services/users/dist /app

# Set the working directory to /app
WORKDIR /app

# Copy the build assets to the working directory
COPY /tmp/services/users/dist .

# Expose port 4000
EXPOSE 4000

Expand Down

0 comments on commit 0d0419a

Please sign in to comment.