Preparing for separate admin

This commit is contained in:
2024-10-15 21:58:57 +05:30
parent 38ab83f9f0
commit 989cf06371
6 changed files with 209 additions and 117 deletions

View File

@ -45,7 +45,11 @@ RUN apk add --no-cache python3 && \
COPY --from=builder /app/dist ./
COPY --from=builder /app/static ./static
COPY medusa-config.js develop.sh tsconfig.json ./
EXPOSE 9000
# Set environment variable for the port (default is optional)
ENV PORT=9000
# Make the port configurable at runtime
EXPOSE ${PORT}
ENTRYPOINT ["./develop.sh", "start"]