Skip to content

Commit

Permalink
fix locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Geczy committed May 19, 2024
1 parent d80a27b commit ab7d13f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/Dockerfile.chat
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FROM base as builder

# Copy source code and build configurations
COPY $BUILD_CONTEXT/src $BUILD_CONTEXT/src/
COPY $BUILD_CONTEXT/locales $BUILD_CONTEXT/locales/

WORKDIR $BUILD_CONTEXT/
RUN bun run build
Expand All @@ -36,6 +37,7 @@ LABEL org.opencontainers.image.source="https://github.com/dotabod/backend" \

WORKDIR /app
COPY --from=builder /app/$BUILD_CONTEXT/dist $BUILD_CONTEXT/dist/
COPY --from=builder /app/$BUILD_CONTEXT/locales $BUILD_CONTEXT/locales/
COPY --from=builder /app/$BUILD_CONTEXT/package.json ./$BUILD_CONTEXT/
COPY --from=builder /app/node_modules ./node_modules

Expand Down
2 changes: 2 additions & 0 deletions packages/Dockerfile.dota
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ FROM base as builder

# Copy source code and build configurations
COPY $BUILD_CONTEXT/src $BUILD_CONTEXT/src/
COPY $BUILD_CONTEXT/locales $BUILD_CONTEXT/locales/

WORKDIR /app/$BUILD_CONTEXT/
RUN bun run build
Expand All @@ -39,6 +40,7 @@ COPY --from=builder /app/node_modules ./node_modules

# Dota app
COPY --from=builder /app/$BUILD_CONTEXT/dist $BUILD_CONTEXT/dist/
COPY --from=builder /app/$BUILD_CONTEXT/locales $BUILD_CONTEXT/locales/
COPY --from=builder /app/$BUILD_CONTEXT/package.json ./$BUILD_CONTEXT/

# Environment and CMD
Expand Down

0 comments on commit ab7d13f

Please sign in to comment.