mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
fix(syncribullet): copy dist instead of public/adapters in Dockerfile (#56)
Updated the Dockerfile to copy built files from the 'dist' directory instead of 'public' and 'adapters'.
This commit is contained in:
@@ -26,10 +26,8 @@ services:
|
||||
RUN npm ci --ignore-scripts --only=production && npm cache clean --force
|
||||
|
||||
# Copy built files from the builder stage
|
||||
COPY --from=builder /build/public ./public
|
||||
COPY --from=builder /build/adapters ./adapters
|
||||
COPY --from=builder /build/dist ./dist
|
||||
COPY --from=builder /build/server ./server
|
||||
|
||||
COPY --from=builder /build/node_modules ./node_modules
|
||||
|
||||
ENV NODE_ENV=production
|
||||
@@ -62,4 +60,4 @@ services:
|
||||
start_period: 60s
|
||||
profiles:
|
||||
- syncribullet
|
||||
- all
|
||||
- all
|
||||
|
||||
Reference in New Issue
Block a user