Update Dockerfile
This commit is contained in:
@@ -102,7 +102,7 @@ RUN cp .env.example .env
|
|||||||
RUN bun x prisma generate
|
RUN bun x prisma generate
|
||||||
|
|
||||||
# Generate API types
|
# Generate API types
|
||||||
RUN bun run gen:api
|
RUN bun run gen:api || echo "tidak ada gen api"
|
||||||
|
|
||||||
# Build the application frontend
|
# Build the application frontend
|
||||||
RUN bun run build
|
RUN bun run build
|
||||||
@@ -134,4 +134,4 @@ COPY --from=build /app/prisma ./prisma
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
CMD ["bun", "start"]
|
CMD ["bun", "start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user